diff options
author | Christoph (Sheogorath) Kern | 2017-12-04 18:57:57 +0100 |
---|---|---|
committer | GitHub | 2017-12-04 18:57:57 +0100 |
commit | 0957f5963b735e9ccde4098265c7fab13dbb216b (patch) | |
tree | 63e288eb3abe096a0156fae96b4be646a9619ffb /public/views/shared | |
parent | 8112cd6fef740c3bf8f535de860c2e7b8dd51834 (diff) | |
parent | 2db2ff484fb0911ea699c7fc59b8b1ad868ca992 (diff) |
Merge pull request #633 from nakaeeee/saml-auth
Support SAML authentication
Diffstat (limited to '')
-rw-r--r-- | public/views/shared/signin-modal.ejs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/public/views/shared/signin-modal.ejs b/public/views/shared/signin-modal.ejs index 89b542e9..7b44cfb0 100644 --- a/public/views/shared/signin-modal.ejs +++ b/public/views/shared/signin-modal.ejs @@ -43,7 +43,12 @@ <i class="fa fa-google"></i> <%= __('Sign in via %s', 'Google') %> </a> <% } %> - <% if((facebook || twitter || github || gitlab || mattermost || dropbox || google) && ldap) { %> + <% if(saml) { %> + <a href="<%- url %>/auth/saml" class="btn btn-lg btn-block btn-social btn-success"> + <i class="fa fa-users"></i> <%= __('Sign in via %s', 'SAML') %> + </a> + <% } %> + <% if((facebook || twitter || github || gitlab || mattermost || dropbox || google || saml) && ldap) { %> <hr> <% }%> <% if(ldap) { %> |