mirror of
https://github.com/ChronosX88/Influence.git
synced 2024-11-08 19:50:59 +00:00
Fix reseting login creds (switch to SecurePreferences)
This commit is contained in:
parent
4315b2ccc8
commit
20075be74c
@ -106,10 +106,9 @@ public class AppHelper extends MultiDexApplication {
|
||||
|
||||
public static void resetLoginCredentials() {
|
||||
currentLoginCredentials = null;
|
||||
preferences.edit().remove("chatID")
|
||||
.remove("pass")
|
||||
.remove("logged_in")
|
||||
.apply();
|
||||
SecurePreferences.removeValue("jid");
|
||||
SecurePreferences.removeValue("pass");
|
||||
SecurePreferences.removeValue("logged_in");
|
||||
}
|
||||
|
||||
private static void initTrueTime() {
|
||||
|
Loading…
Reference in New Issue
Block a user