When logging out from Pin code screen, logout from all the sessions.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user