From 89633d5cd5f4ada0784dca7cb61f86c581bb5206 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 17 Jun 2021 14:56:04 +0200 Subject: [PATCH] gitea: block gmail accounts from sign up gmail.com is used in 100% of spam accounts, also google is bad for you. --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index f84babc..3e8d7eb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -269,6 +269,7 @@ security.LOGIN_REMEMBER_DAYS = 365; attachment.MAX_SIZE = 10; # file upload size (MB) service.DEFAULT_ALLOW_CREATE_ORGANIZATION = false; + service.EMAIL_DOMAIN_BLOCKLIST = "gmail.com"; }; };