mirror of https://github.com/M66B/FairEmail.git
OAuth: use IP config
This commit is contained in:
parent
b84f59b4aa
commit
08317ae814
|
@ -747,6 +747,7 @@ public class FragmentOAuth extends FragmentBase {
|
||||||
ident.provider = provider.id;
|
ident.provider = provider.id;
|
||||||
ident.user = username;
|
ident.user = username;
|
||||||
ident.password = state;
|
ident.password = state;
|
||||||
|
ident.use_ip = provider.useip;
|
||||||
ident.synchronize = true;
|
ident.synchronize = true;
|
||||||
ident.primary = ident.user.equals(ident.email);
|
ident.primary = ident.user.equals(ident.email);
|
||||||
ident.max_size = max_size;
|
ident.max_size = max_size;
|
||||||
|
|
Loading…
Reference in New Issue