diff options
author | Wu Cheng-Han | 2016-12-07 21:19:06 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-12-07 21:19:06 +0800 |
commit | ecb956f515a4a9fc661e0724d694fc1ed093dcaa (patch) | |
tree | 437c7fff05429acd9d8c94aa360ade6aea9e4b53 /public/views | |
parent | dd284a7bd0f449b9f220ad46b5cca0f064a56ffc (diff) |
Fix index signin and signout button might not shown if only email enabled
Diffstat (limited to 'public/views')
-rw-r--r-- | public/views/index.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views/index.ejs b/public/views/index.ejs index 60e33a23..2bec7de0 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -57,7 +57,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) { %> + <% if(facebook || twitter || github || gitlab || dropbox || google || 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: 170px;"><%= __('Sign In') %></a> @@ -93,7 +93,7 @@ </div> <div id="history" class="section"<% if(!signin) { %> style="display:none;"<% } %>> - <% if(facebook || twitter || github || gitlab || dropbox || google) { %> + <% if(facebook || twitter || github || gitlab || dropbox || google || email) { %> <div class="ui-signin"> <p><%= __('Below is the history from browser') %></p> </div> |