Skip to content

Commit

Permalink
Fix index signin and signout button might not shown if only email ena…
Browse files Browse the repository at this point in the history
…bled
  • Loading branch information
jackycute committed Dec 7, 2016
1 parent dd284a7 commit ecb956f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit ecb956f

Please sign in to comment.