Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(frontend:auth): ensure server config is initialized during authentication to prevent OTP prompt from not appearing on desktop
johavene0053ae60895
diff --git a/frontend/src/app/auth/auth.service.ts b/frontend/src/app/auth/auth.service.tsindex 62f543fe..48b9be79 100644--- a/frontend/src/app/auth/auth.service.ts+++ b/frontend/src/app/auth/auth.service.ts@@ -99,6 +99,7 @@ export class AuthService {this.accessExpiration = r.token.access_expirationthis.refreshExpiration = r.token.refresh_expirationthis.userService.initUser(r.user)+ this.setServerConfig(r.server)if (r?.client_token_update) {// update client tokenthis.electron.send(EVENT.SERVER.AUTHENTICATION_TOKEN_UPDATE, r.client_token_update)