Skip to content

reset password issue #398

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
peacewalkers opened this issue Aug 4, 2021 · 3 comments
Closed

reset password issue #398

peacewalkers opened this issue Aug 4, 2021 · 3 comments

Comments

@peacewalkers
Copy link

First, take look at:

  1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
  2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed

Did you star the repo?
Yes

Describe the bug
While trying to reset the password, when you click on the reset password link received through email. In the form for input field email instead of showing the actual email address, it is only showing as 1.

To Reproduce
Steps to reproduce the behavior:

  1. go to password reset URL
  2. Enter the email address you want to reset and submit to receive reset email instructions.
  3. Click on the "reset password" button or URL mentioned in the email to reset/enter a new password.
  4. in the reset password page for email input it shows "1" instead of displaying the actual email address.

Expected behavior
Display of actual user email address for which the password is being reset.

Screenshots
image

@goodmuyis
Copy link

Are you sure you are using the view blade that came with this package and you have not made any strange changes to it

@peacewalkers
Copy link
Author

No, I have not made any changes. I am sure you will be able to reproduce the error

@goodmuyis
Copy link

goodmuyis commented Sep 7, 2021

No, I have not made any changes. I am sure you will be able to reproduce the error

I just figure out what your issue is. Go to line 26 of reset.blade.php ../resources/views/auth/passwords/reset.blade.php

Change the input field value from value="{{ $email or old('email') }}" to value="{{ $email ?? old('email') }}" replacing the or with ?? (double question mark). That should fix the problem

@jeremykenedy kindly edit the file to fix the issue. Thanks

maxdestors added a commit to maxdestors/laravel-auth that referenced this issue Dec 30, 2021
jeremykenedy added a commit that referenced this issue Dec 31, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants