Soft Logout - display hard logout screen

This commit is contained in:
Benoit Marty 2019-12-13 12:40:15 +01:00
parent 12d54140e5
commit c6b98f3654

View File

@ -176,7 +176,8 @@ class MainActivity : VectorBaseActivity() {
private fun startNextActivityAndFinish() {
val intent = when {
args.clearCredentials ->
args.clearCredentials
&& !args.isUserLoggedOut ->
// User has explicitly asked to log out
LoginActivity.newIntent(this, null)
args.isSoftLogout ->