core01: open up Gitea registration and whitelist @ens.fr emails
This commit is contained in:
parent
b581fbcfc5
commit
e0167f27d3
1 changed files with 14 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue