about summary refs log tree commit diff
path: root/ops/modules/monorepo-gerrit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/modules/monorepo-gerrit.nix')
-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 b704ab153c..d4b37d860b 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";