Fixed saving password on logging in unsecured mode

This commit is contained in:
CappielloAntonio
2022-01-11 15:50:22 +01:00
parent 2e8f8bd7b6
commit 1fce57e119
7 changed files with 31 additions and 16 deletions

View File

@@ -96,7 +96,7 @@ public class MainActivity extends BaseActivity {
initBottomSheet();
initNavigation();
if (PreferenceUtil.getInstance(this).getToken() != null) {
if (PreferenceUtil.getInstance(this).getToken() != null && PreferenceUtil.getInstance(this).getSalt() != null) {
goFromLogin();
} else {
goToLogin();