1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00
This commit is contained in:
M66B 2023-03-05 14:23:53 +01:00
parent a827d44533
commit aac99e0182

View file

@ -119,7 +119,7 @@ public interface DaoIdentity {
" SET password = :password, auth_type = :new_auth_type, provider = :provider" +
" WHERE account = :account" +
" AND user = :user" +
" AND (auth_type = :auth_type OR auth_type IS NULL)" +
" AND (auth_type = :auth_type OR :auth_type IS NULL)" +
" AND NOT (password IS :password AND auth_type IS :new_auth_type AND provider = :provider)")
int setIdentityPassword(long account, String user, String password, Integer auth_type, int new_auth_type, String provider);