diff options
author | Norihito Nakae | 2017-11-28 12:46:58 +0900 |
---|---|---|
committer | Norihito Nakae | 2017-11-28 18:52:24 +0900 |
commit | 4a4ae9d332cff31991d9f63417895fce18717f61 (patch) | |
tree | 21d61db281bd6ebd588a6f1eaabce46f7a067f10 /public/views/shared | |
parent | 9c002ce29bf422b5bc136c2028b2fb05e2ab8278 (diff) |
Initial support for SAML authentication
Diffstat (limited to 'public/views/shared')
-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) { %> |