about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/modules/monorepo-gerrit.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/modules/monorepo-gerrit.nix b/ops/modules/monorepo-gerrit.nix
index b704ab153cb7..d4b37d860b53 100644
--- a/ops/modules/monorepo-gerrit.nix
+++ b/ops/modules/monorepo-gerrit.nix
@@ -96,6 +96,9 @@ in {
         # 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
       # password against the backing OAuth provider.
       auth.gitBasicAuthPolicy = "HTTP";