mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Control on the password or on the salt and token
This commit is contained in:
parent
be9e74bdbe
commit
db4bc39ea6
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue