We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940d145 commit d29b3fbCopy full SHA for d29b3fb
1 file changed
app/views/devise/shared/_links.html.erb
@@ -4,7 +4,8 @@
4
<%= link_to t('devise.links.log_in'), new_session_path(resource_name) %></li>
5
<% end -%>
6
7
- <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
+ <%- if devise_mapping.registerable? && controller_name != 'registrations' &&
8
+ TeSS::Config.feature['registration'] && !from_blocked_country? %>
9
<li><%= t('devise.links.new_to', title: TeSS::Config.site['title_short']) %>
10
<%= link_to t('devise.links.register'), new_registration_path(resource_name) %></li>
11
0 commit comments