Feat email password reset (#730)

* change name of auth.service to AuthService

* Add emailEnabled to config api

* Setup email

* update nodemailer version

* add translations

* update .env.example

* clean up console.log's)

* refactor RequestPasswordReset component

* chore: rebuild package-lock.json

---------

Co-authored-by: Daniel Avila <messagedaniel@protonmail.com>
This commit is contained in:
Dan Orlando 2023-07-31 19:37:46 -07:00 committed by GitHub
parent 2faeebfae2
commit 30a49ae611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 221 additions and 171 deletions

View file

@ -52,6 +52,9 @@ export default {
com_auth_password_forgot: 'Esqueceu a senha?',
com_auth_password_confirm: 'Confirmar senha',
com_auth_password_not_match: 'As senhas não correspondem',
com_auth_reset_password_link_sent: 'Link para redefinir a senha enviado',
com_auth_reset_password_email_sent:
'Um email foi enviado para com instruções para redefinir sua senha.',
com_auth_continue: 'Continuar',
com_auth_create_account: 'Crie sua conta',
com_auth_error_create:

View file

@ -69,6 +69,9 @@ export default {
com_auth_click: 'Click',
com_auth_here: 'HERE',
com_auth_to_reset_your_password: 'to reset your password.',
com_auth_reset_password_link_sent: 'Email Sent',
com_auth_reset_password_email_sent:
'An email has been sent to you with further instructions to reset your password.',
com_auth_error_reset_password:
'There was a problem resetting your password. There was no user found with the email address provided. Please try again.',
com_auth_reset_password_success: 'Password Reset Success',

View file

@ -46,6 +46,8 @@ export default {
com_auth_email_max_length: 'El email no debe tener más de 120 caracteres',
com_auth_email_pattern: 'Debes ingresar una dirección de email válida',
com_auth_email_address: 'Dirección de email',
com_auth_reset_password_link_sent: 'Enlace para restablecer la contraseña enviado',
com_auth_reset_password_email_sent: 'Se ha enviado un correo electrónico con instrucciones.',
com_auth_password: 'Contraseña',
com_auth_password_required: 'Se requiere la contraseña',
com_auth_password_min_length: 'La contraseña debe tener al menos 8 caracteres',

View file

@ -52,6 +52,9 @@ export default {
com_auth_password_forgot: 'Password dimenticata?',
com_auth_password_confirm: 'Conferma password',
com_auth_password_not_match: 'Le password non corrispondono',
com_auth_reset_password_link_sent: 'Link per reimpostare la password inviato',
com_auth_reset_password_email_sent:
'Ti abbiamo inviato un\'email con un link per reimpostare la password.',
com_auth_continue: 'Continua',
com_auth_create_account: 'Crea il tuo account',
com_auth_error_create:

View file

@ -52,6 +52,8 @@ export default {
com_auth_continue: '继续',
com_auth_create_account: '创建账号',
com_auth_error_create: '注册账户过程中出现错误,请重试。',
com_auth_reset_password_link_sent: '重置密码链接已发送至邮箱',
com_auth_reset_password_email_sent: '重置密码邮件已发送至邮箱',
com_auth_full_name: '姓名',
com_auth_name_required: '姓名为必填项',
com_auth_name_min_length: '姓名至少3个字符',