Control on the password or on the salt and token
This commit is contained in:
1 parent
be9e74bdbe
commit
db4bc39ea6
1 file changed
+1
-1
@@ -100,7 +100,7 @@ public class MainActivity extends BaseActivity {
|
||||
initBottomSheet();
|
||||
initNavigation();
|
||||
|
||||
if (PreferenceUtil.getInstance(this).getToken() != null && PreferenceUtil.getInstance(this).getSalt() != null) {
|
||||
if (PreferenceUtil.getInstance(this).getPassword() != null || (PreferenceUtil.getInstance(this).getToken() != null && PreferenceUtil.getInstance(this).getSalt() != null)) {
|
||||
goFromLogin();
|
||||
} else {
|
||||
goToLogin();
|
||||
|
||||
Reference in new issue
Block a user