core01: open up Gitea registration and whitelist @ens.fr emails

This commit is contained in:
Raito Bezarius 2022-03-05 23:15:51 +01:00
parent b581fbcfc5
commit e0167f27d3

View file

@ -13,7 +13,20 @@ in
httpAddress = "127.0.0.1";
httpPort = port;
database.type = "postgres";
disableRegistration = true;
disableRegistration = false;
settings = {
openid = {
ENABLE_OPENID_SIGNUP = true;
};
oauth2_account = {
ENABLE_AUTO_REGISTRATION = true;
USERNAME = "email";
};
service = {
EMAIL_DOMAIN_WHITELIST = "ens.fr";
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
};
};
};
services.nginx = {