mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-01-11 02:01:02 +01:00
store loginUid on login
This commit is contained in:
parent
7e3eef90d2
commit
8787f8d9eb
@ -470,10 +470,10 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
|
||||
|
||||
if (response.code() == 200) {
|
||||
|
||||
tinyDb.remove("loginPass");
|
||||
tinyDb.putBoolean("loggedInMode", true);
|
||||
assert userDetails != null;
|
||||
tinyDb.putString(userDetails.getLogin() + "-token", loginToken_);
|
||||
tinyDb.putString("loginUid", userDetails.getLogin());
|
||||
|
||||
enableProcessButton();
|
||||
loginButton.setText(R.string.btnLogin);
|
||||
|
Loading…
Reference in New Issue
Block a user