When logging out from Pin code screen, logout from all the sessions.

This commit is contained in:
Benoit Marty
2025-09-18 09:44:02 +02:00
parent a2d728d29e
commit be61b89bfb
6 changed files with 146 additions and 20 deletions

View File

@@ -174,7 +174,7 @@ class PinUnlockPresenter(
private fun CoroutineScope.signOut(signOutAction: MutableState<AsyncAction<Unit>>) = launch {
suspend {
logoutUseCase.logout(ignoreSdkError = true)
logoutUseCase.logoutAll(ignoreSdkError = true)
}.runCatchingUpdatingState(signOutAction)
}
}