mardi 25 juillet 2017

how to change laravel login field after password reset

im using laravel 5.4.17 and i changed the username() to 'phone' in AuthenticatesUsers trait to login as phone instead of email. but when user request a password reset with his email, in password reset link form that need 3 items : email - password - password_confirm

and after that, laravel will login as email again (and email will save in browser as his username).

how can i change the email in reset form to phone ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire