mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Fixed updating identity passwords for simple domain names
This commit is contained in:
@@ -987,10 +987,9 @@ public class FragmentAccount extends FragmentBase {
|
||||
db.beginTransaction();
|
||||
|
||||
if (account != null && !account.password.equals(password)) {
|
||||
String match = "%" + ConnectionHelper.getDomain(account.host);
|
||||
int count = db.identity().setIdentityPassword(
|
||||
account.id,
|
||||
account.user, password,
|
||||
"%." + ConnectionHelper.getDomain(account.host));
|
||||
account.id, account.user, password, match);
|
||||
Log.i("Updated passwords=" + count);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user