hasusozam

Experience

130

0 Best Reply Awards

  • Member Since 1 Month Ago
  • 0 Lessons Completed
  • 0 Favorites

16th September, 2018

hasusozam left a reply on Laravel User Registration And Reset Password Default Behavior • 1 month ago

The video doesn't have anything to do with the question, he is just presenting the feature, I want something else.

I was wondering, how to remove that default behavior, instead of logging the user in when he registers I want to show only the email verification message. In the reset password I want to redirect the user to the login page instead of logging automatically.

hasusozam started a new conversation Laravel User Registration And Reset Password Default Behavior • 1 month ago

In Laravel 5.7 we have this new feature for email verification, the thing is that it doesn't "match" with the current Laravel registration and reset password default behavior. I had to add middleware('verified') to the /home route so it would be protected and only verified users could access, it works, but the thing is that Laravel internally is calling $this->guard()->login($user), so the user is actually logged in, even without the email being verified, and what happens is that the navigation bar still shows his username and the dropdown with his actions.

I was wondering, how to remove that default behavior, instead of logging the user in when he registers I want to show only the email verification message. In the reset password I want to redirect the user to the login page instead of logging automatically.

lol

13th September, 2018

hasusozam left a reply on Resend Password Confirmation • 1 month ago

Oh gosh, they did the resend already. I thought that they didn't cause I was looking at their github commits before 5.7 was released and it was a really simple implementation.

Thank you @D9705996

If you did not receive the email, <a href="{{ route('verification.resend') }}">click here to request another</a>.

hasusozam started a new conversation Resend Password Confirmation • 1 month ago

I was wondering, what is the best way to implement the resend password confirmation like Laracasts does using Laravel 5.7 and its new account confirmation feature?

resend

... the feature itself not the popup

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.