make registration require manual approval
This commit is contained in:
parent
424644cd97
commit
a97c50b740
|
@ -4,7 +4,7 @@
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3001/";
|
||||
proxyPass = "http://localhost:443/";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -25,6 +25,11 @@
|
|||
type = "postgres";
|
||||
passwordFile = "/run/keys/gitea-dbpassword";
|
||||
};
|
||||
settings.service = {
|
||||
REGISTER_MANUAL_CONFIRM = true
|
||||
DEFAULT_USER_IS_RESTRICTED = true;
|
||||
|
||||
}
|
||||
settings.server = {
|
||||
HTTP_PORT = 3001;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue