app/views/locomotive/sessions/new.html.slim in locomotivecms-3.0.0 vs app/views/locomotive/sessions/new.html.slim in locomotivecms-3.0.1
- old
+ new
@@ -18,7 +18,7 @@
= f.input :password, label: t('.password'), hint: link_to(t('.link'), new_locomotive_account_password_path).html_safe, required: false, input_html: { tabindex: 2 }
= f.actions do
= f.button :submit, t('.submit'), class: 'btn btn-primary'
-- if current_site.nil?
+- if current_site.nil? && Locomotive.config.enable_registration
= link_to t('.sign_up').html_safe, sign_up_path, class: 'public-link'