Allow registration of OAuth 1.0 applications to be disabled

This commit is contained in:
Tom Hughes 2024-01-28 19:42:06 +00:00
parent 3ab9da6c6b
commit 31659bedbe
6 changed files with 36 additions and 1 deletions

View file

@ -42,4 +42,6 @@
<% end %>
</ul>
<% end %>
<% if Settings.oauth_10_registration -%>
<%= link_to t(".register_new"), { :action => :new }, :class => "btn btn-outline-primary" %>
<% end -%>