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