mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-05 17:14:40 -04:00
Allow SAML authentication provider to be named
Using `CMD_SAML_PROVIDERNAME` and the respective auth provider objects in the configuration structures. Signed-off-by: Moritz Schlarb <schlarbm@uni-mainz.de>
This commit is contained in:
parent
002c7897d8
commit
e6fc9f01a3
6 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
<% } %>
|
||||
<% if (authProviders.saml) { %>
|
||||
<a href="<%- serverURL %>/auth/saml" class="btn btn-lg btn-block btn-social btn-success">
|
||||
<i class="fa fa-users"></i> <%= __('Sign in via %s', 'SAML') %>
|
||||
<i class="fa fa-users"></i> <%= __('Sign in via %s', authProviders.samlProviderName || 'SAML') %>
|
||||
</a>
|
||||
<% } %>
|
||||
<% if (authProviders.oauth2) { %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue