gitea: block gmail accounts from sign up

gmail.com is used in 100% of spam accounts, also google is bad for you.
This commit is contained in:
Michele Guerini Rocco 2021-06-17 14:56:04 +02:00
parent 132d3a66f4
commit 89633d5cd5
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -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";
};
};