mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Added Public Suffix List
This commit is contained in:
@@ -488,7 +488,7 @@ public class FragmentPop extends FragmentBase {
|
||||
db.beginTransaction();
|
||||
|
||||
if (account != null && !account.password.equals(password)) {
|
||||
String domain = UriHelper.getParentDomain(account.host);
|
||||
String domain = UriHelper.getParentDomain(context, 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