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:
Moritz Schlarb 2022-03-11 14:32:40 +01:00 committed by David Mehren
parent 002c7897d8
commit e6fc9f01a3
6 changed files with 6 additions and 1 deletions

View file

@ -8,6 +8,7 @@
### Enhancements
- Libravatar avatars render as ident-icons when no avatar image was uploaded to Libravatar or Gravatar
- Add database connection error message to log output
- Allow SAML authentication provider to be named
## <i class="fa fa-tag"></i> 1.9.2 <i class="fa fa-calendar-o"></i> 2021-12-03

View file

@ -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) { %>