1. fix two_factor and redirect scratch page cannot back to the passcode page(has no back button)

2. fix scratch logged in , redirect to the 404 page
This commit is contained in:
godcong 2018-06-11 23:53:43 +08:00
parent 508092a248
commit 877998b50e
6 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,7 @@ captcha=CAPTCHA
twofa=Zwei-Faktor-Authentifizierung
twofa_scratch=Zwei-Faktor-Einmalpasswort
passcode=PIN
use_passcode=PIN verwenden
u2f_insert_key=Hardware-Sicherheitsschlüssel einstecken
u2f_sign_in=Drücke den Knopf auf deinem Sicherheitsschlüssel. Wenn deiner keinen Knopf hat, stecke ihn erneut ein.

View File

@ -30,6 +30,7 @@ captcha = CAPTCHA
twofa = Two-Factor Authentication
twofa_scratch = Two-Factor Scratch Code
passcode = Passcode
use_passcode = Use Passcode
u2f_insert_key = Insert your security key
u2f_sign_in = Press the button on your security key. If you can't find a button, re-insert it.

View File

@ -30,6 +30,7 @@ captcha=验证码
twofa=两步验证
twofa_scratch=两步验证口令
passcode=验证码
use_passcode=使用验证码
u2f_insert_key=插入安全密钥
u2f_sign_in=按下安全密钥上的按钮。如果找不到按钮, 请重新插入。

View File

@ -16,6 +16,7 @@ notifications=訊息
password=密碼
passcode=驗證碼
use_passcode=使用驗證碼
repository=儲存庫

View File

@ -18,6 +18,7 @@ signed_in_as=已登入用戶
username=用戶名稱
password=密碼
passcode=驗證碼
use_passcode=使用驗證碼
repository=儲存庫

View File

@ -17,6 +17,7 @@
<div class="inline field">
<label></label>
<button class="ui green button">{{.i18n.Tr "auth.verify"}}</button>
<a href="{{AppSubUrl}}/user/two_factor">{{.i18n.Tr "use_passcode" | Str2html}}</a>
</div>
</div>
</form>