Skip to content

Commit 042b2b1

Browse files
committed
fix(auth): establish usermanager instance on log in success with provided entropy
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent ee8ca5d commit 042b2b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth

apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth/AuthManager.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class AuthManager @Inject constructor(
154154
return credentialManager.login(entropyB64, isFromSelection)
155155
.onSuccess { account ->
156156
persistence.openDatabase(entropyB64)
157+
userManager.establish(entropyB64)
157158
userManager.set(accountId = account.id)
158159

159160
coroutineScope {

0 commit comments

Comments
 (0)