diff options
author | Christoph Witzany | 2017-10-29 11:16:40 +0100 |
---|---|---|
committer | Christoph Witzany | 2017-10-31 10:34:51 +0100 |
commit | 5cda55086acfc1000f0a0062045db50ad415db59 (patch) | |
tree | 4cad35c71d521507013f33bcd730143847234fb6 /public/views/index | |
parent | dad5798472406aad08b1b1c5433f314fdaa679e7 (diff) |
Add mattermost authentication
Diffstat (limited to 'public/views/index')
-rw-r--r-- | public/views/index/body.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index b9c5c426..230eb117 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -15,7 +15,7 @@ <% if(allowAnonymous) { %> <a type="button" href="<%- url %>/new" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> <%= __('New guest note') %></a> <% } %> - <% if(facebook || twitter || github || gitlab || dropbox || google || ldap || email) { %> + <% if(facebook || twitter || github || gitlab || mattermost || dropbox || google || ldap || email) { %> <button class="btn btn-sm btn-success ui-signin" data-toggle="modal" data-target=".signin-modal"><%= __('Sign In') %></button> <% } %> </div> @@ -48,7 +48,7 @@ <% if (errorMessage && errorMessage.length > 0) { %> <div class="alert alert-danger" style="max-width: 400px; margin: 0 auto;"><%= errorMessage %></div> <% } %> - <% if(facebook || twitter || github || gitlab || dropbox || google || ldap || email) { %> + <% if(facebook || twitter || github || gitlab || mattermost || dropbox || google || ldap || email) { %> <span class="ui-signin"> <br> <a type="button" class="btn btn-lg btn-success ui-signin" data-toggle="modal" data-target=".signin-modal" style="min-width: 200px;"><%= __('Sign In') %></a> |