Fixed updating identity passwords for simple domain names

This commit is contained in:
M66B 2020-01-08 09:57:58 +01:00
parent 966188bbb6
commit 15054c89e1
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}