mirror of
https://github.com/ChronosX88/Influence.git
synced 2024-11-09 12:01:01 +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() {
|
public static void resetLoginCredentials() {
|
||||||
currentLoginCredentials = null;
|
currentLoginCredentials = null;
|
||||||
preferences.edit().remove("chatID")
|
SecurePreferences.removeValue("jid");
|
||||||
.remove("pass")
|
SecurePreferences.removeValue("pass");
|
||||||
.remove("logged_in")
|
SecurePreferences.removeValue("logged_in");
|
||||||
.apply();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void initTrueTime() {
|
private static void initTrueTime() {
|
||||||
|
Loading…
Reference in New Issue
Block a user