Add support for Google login verification

This commit is contained in:
Omar Roth
2019-07-22 13:28:36 -05:00
parent d034fecc89
commit 6215259565
2 changed files with 94 additions and 64 deletions

View File

@@ -102,8 +102,8 @@
<% end %>
<% if tfa %>
<label for="tfa"><%= translate(locale, "Google verification code") %> :</label>
<input required class="pure-input-1" name="tfa" type="text" placeholder="<%= translate(locale, "Google verification code") %>">
<label for="tfa"><%= translate(locale, prompt) %> :</label>
<input required class="pure-input-1" name="tfa" type="text" placeholder="<%= translate(locale, prompt) %>">
<% end %>
<button type="submit" class="pure-button pure-button-primary"><%= translate(locale, "Sign In") %></button>