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
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
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>