mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 14:43:36 +00:00
Control on the password or on the salt and token
This commit is contained in:
@@ -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