From 47d56e2fbdad52acf2cffa04db9efc012115d732 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Tue, 26 May 2015 15:40:49 +0200 Subject: [PATCH] Fix condition --- tmpl/gogs.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmpl/gogs.conf b/tmpl/gogs.conf index 22656cb..a2b0d86 100644 --- a/tmpl/gogs.conf +++ b/tmpl/gogs.conf @@ -76,7 +76,7 @@ ACTIVE_CODE_LIVE_MINUTES = 180 RESET_PASSWD_CODE_LIVE_MINUTES = 180 ; User need to confirm e-mail for registration REGISTER_EMAIL_CONFIRM = false -%if %%getVar('gogs_registration','non') == 'non' +%if %%getVar('gogs_registration','non') == 'oui' ; Does not allow register and admin create account only DISABLE_REGISTRATION = false %else