feat: i18n reset password message (#3106)
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -323,6 +323,8 @@ window.localisation.en = {
|
||||
set_password: 'Set Password',
|
||||
invalid_password: 'Password must have at least 8 characters',
|
||||
invalid_password_repeat: 'Passwords do not match',
|
||||
reset_key_generated: 'A reset key has been generated.',
|
||||
reset_key_copy: 'Click OK to copy the reset URL to your clipboard.',
|
||||
login: 'Login',
|
||||
register: 'Register',
|
||||
username: 'Username',
|
||||
|
||||
@@ -188,7 +188,7 @@ window.UsersPageLogic = {
|
||||
.then(res => {
|
||||
LNbits.utils
|
||||
.confirmDialog(
|
||||
'A reset key has been generated. Click OK to copy the rest key to your clipboard.'
|
||||
this.$t('reset_key_generated') + ' ' + this.$t('reset_key_copy')
|
||||
)
|
||||
.onOk(() => {
|
||||
const url = window.location.origin + '?reset_key=' + res.data
|
||||
|
||||
Reference in New Issue
Block a user