mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Allow updating OAuth accounts
This commit is contained in:
@@ -104,6 +104,12 @@ public interface DaoIdentity {
|
||||
" AND host LIKE :domain")
|
||||
int setIdentityPassword(long account, String user, String password, String domain);
|
||||
|
||||
@Query("UPDATE identity SET password = :password" +
|
||||
" WHERE account = :account" +
|
||||
" AND user = :user" +
|
||||
" AND auth_type = :auth_type")
|
||||
int setIdentityPassword(long account, String user, String password, int auth_type);
|
||||
|
||||
@Query("UPDATE identity SET last_connected = :last_connected WHERE id = :id")
|
||||
int setIdentityConnected(long id, long last_connected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user