fix(monorepo-gerrit): Enable adding new email addresses to accounts
This is required when people change their email addresses (e.g. cl/3349) as nothing in Gerrit will update that information from the OAuth provider. Change-Id: I1eafdf22efd37898dcd0d06bb9a5d1471ffb5e31 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3356 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
f6a128ab97
commit
03c3d49b87
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ in {
|
||||||
# client-secret is set in /var/lib/gerrit/etc/secure.config.
|
# client-secret is set in /var/lib/gerrit/etc/secure.config.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow users to add additional email addresses to their accounts.
|
||||||
|
oauth.allowRegisterNewEmail = true;
|
||||||
|
|
||||||
# Use Gerrit's built-in HTTP passwords, rather than trying to use the
|
# Use Gerrit's built-in HTTP passwords, rather than trying to use the
|
||||||
# password against the backing OAuth provider.
|
# password against the backing OAuth provider.
|
||||||
auth.gitBasicAuthPolicy = "HTTP";
|
auth.gitBasicAuthPolicy = "HTTP";
|
||||||
|
|
Loading…
Reference in a new issue