gitea: use disableRegistration available on 19.03

This commit is contained in:
Sebastien Bourdeauducq 2019-04-02 00:49:37 +08:00
parent e71e35a498
commit 3fc48bc594
1 changed files with 1 additions and 6 deletions

View File

@ -119,12 +119,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
rootUrl = "https://git.m-labs.hk/"; rootUrl = "https://git.m-labs.hk/";
appName = "M-Labs Git"; appName = "M-Labs Git";
cookieSecure = true; cookieSecure = true;
extraConfig = disableRegistration = true;
''
[service]
DISABLE_REGISTRATION = true
'';
#disableRegistration = true;
}; };
services.mattermost = { services.mattermost = {