Skip to content
Snippets Groups Projects
Commit 9921c6da authored by Perry Faro's avatar Perry Faro Committed by Wes Gurney
Browse files

Add check if the signup setting is enabled. fixes #4832

parent 7b91e02d
No related branches found
No related tags found
1 merge request!4954Add support to configure webhook_timeout in gitlab.yaml
This commit is part of merge request !4954. Comments created here will be created in the context of that merge request.
Loading
Loading
@@ -2,7 +2,7 @@
<%= link_to "Sign in", new_session_path(resource_name), class: "btn" %><br />
<% end -%>
 
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%- if devise_mapping.registerable? && controller_name != 'registrations' && Gitlab.config.gitlab.signup_enabled %>
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end -%>
 
Loading
Loading
Loading
Loading
@@ -52,7 +52,8 @@ production: &base
 
 
## Users management
# signup_enabled: true # default: false - Account passwords are not sent via the email if signup is enabled.
# default: false - Account passwords are not sent via the email if signup is enabled.
# signup_enabled: true
 
## Automatic issue closing
# If a commit message matches this regular express, all issues referenced from the matched text will be closed
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment