hosts/suwako: prevent spam on gitea
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
conf,
|
conf,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -36,6 +35,18 @@
|
|||||||
USER = FROM;
|
USER = FROM;
|
||||||
REGISTER_MAIL_CONFIRM = true;
|
REGISTER_MAIL_CONFIRM = true;
|
||||||
};
|
};
|
||||||
|
service = {
|
||||||
|
ENABLE_CAPTCHA = true;
|
||||||
|
EMAIL_DOMAIN_ALLOWLIST = lib.strings.concatStringsSep "," [
|
||||||
|
"gmail.com"
|
||||||
|
"outlook.com"
|
||||||
|
"proton.me"
|
||||||
|
"protonmail.com"
|
||||||
|
conf.network.addresses.domain.natto
|
||||||
|
conf.network.addresses.domain.amneesh
|
||||||
|
"chutiya.online"
|
||||||
|
];
|
||||||
|
};
|
||||||
oauth2_client.REGISTER_MAIL_CONFIRM = true;
|
oauth2_client.REGISTER_MAIL_CONFIRM = true;
|
||||||
actions.ENABLED = false;
|
actions.ENABLED = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user