mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Refactoring
This commit is contained in:
@@ -1077,7 +1077,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
db.beginTransaction();
|
||||
|
||||
if (account != null && !account.password.equals(password)) {
|
||||
String domain = DNSHelper.getParentDomain(account.host);
|
||||
String domain = DnsHelper.getParentDomain(account.host);
|
||||
String match = (Objects.equals(account.host, domain) ? account.host : "%." + domain);
|
||||
int count = db.identity().setIdentityPassword(account.id, account.user, password, match);
|
||||
Log.i("Updated passwords=" + count + " match=" + match);
|
||||
|
||||
Reference in New Issue
Block a user