mirror of https://github.com/xwiki-labs/cryptpad
Re-use translation string for login error
This commit is contained in:
parent
065dbc1716
commit
b910aaa7d2
|
@ -18,7 +18,6 @@ Msg.continue = "Continue"; // XXX also in settings
|
|||
Msg.recovery_forgot = 'Forgot recovery code';
|
||||
Msg.recovery_forgot_text = 'Please copy the following information and <a href="mailto:{0}">email it</a> to your instance administrators';
|
||||
|
||||
Msg.recovery_mfa_wrong = "Invalid username or password"; // XXX USE MODIFIED login_noSuchUser (see settings)
|
||||
Msg.recovery_mfa_error = "Unknown error. Please reload and try again.";
|
||||
Msg.recovery_mfa_disabled = "Multi-factor authentication is already disabled for this account.";
|
||||
|
||||
|
@ -43,7 +42,7 @@ Msg.recovery_mfa_disabled = "Multi-factor authentication is already disabled for
|
|||
h('div#userForm.form-group.hidden.col-md-6', [
|
||||
h('div.cp-recovery-step.step1', [
|
||||
h('p', Msg.recovery_mfa_description),
|
||||
h('div.alert.alert-danger.wrong-cred.cp-hidden', Msg.recovery_mfa_wrong),
|
||||
h('div.alert.alert-danger.wrong-cred.cp-hidden', Msg.login_noSuchUser),
|
||||
h('input.form-control#username', {
|
||||
type: 'text',
|
||||
autocomplete: 'off',
|
||||
|
|
Loading…
Reference in New Issue