mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-01-10 17:42:38 +01:00
store loginUid on login
This commit is contained in:
parent
7e3eef90d2
commit
8787f8d9eb
@ -469,11 +469,11 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
|
||||
if (response.isSuccessful()) {
|
||||
|
||||
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