Skip to content

Commit ecb956f

Browse files
committed
Fix index signin and signout button might not shown if only email enabled
1 parent dd284a7 commit ecb956f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/views/index.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<% if (errorMessage && errorMessage.length > 0) { %>
5858
<div class="alert alert-danger" style="max-width: 400px; margin: 0 auto;"><%= errorMessage %></div>
5959
<% } %>
60-
<% if(facebook || twitter || github || gitlab || dropbox || google) { %>
60+
<% if(facebook || twitter || github || gitlab || dropbox || google || email) { %>
6161
<span class="ui-signin">
6262
<br>
6363
<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 @@
9393
</div>
9494

9595
<div id="history" class="section"<% if(!signin) { %> style="display:none;"<% } %>>
96-
<% if(facebook || twitter || github || gitlab || dropbox || google) { %>
96+
<% if(facebook || twitter || github || gitlab || dropbox || google || email) { %>
9797
<div class="ui-signin">
9898
<p><%= __('Below is the history from browser') %></p>
9999
</div>

0 commit comments

Comments
 (0)