mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
Set password on token refresh
This commit is contained in:
@@ -105,9 +105,6 @@ public interface DaoAccount {
|
||||
@Update
|
||||
void updateAccount(EntityAccount account);
|
||||
|
||||
@Query("UPDATE account SET password = :password WHERE password = :old")
|
||||
int updateAccountPassword(String old, String password);
|
||||
|
||||
@Query("UPDATE account SET separator = :separator WHERE id = :id")
|
||||
int setFolderSeparator(long id, Character separator);
|
||||
|
||||
@@ -117,6 +114,9 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET state = :state WHERE id = :id")
|
||||
int setAccountState(long id, String state);
|
||||
|
||||
@Query("UPDATE account SET password = :password WHERE id = :id")
|
||||
int setAccountPassword(long id, String password);
|
||||
|
||||
@Query("UPDATE account SET last_connected = :last_connected WHERE id = :id")
|
||||
int setAccountConnected(long id, long last_connected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user