Fix condition
This commit is contained in:
parent
32e427b6f9
commit
47d56e2fbd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue