I figured it out.
Didn't realize the RegisteredUserController was logging in the new user even though they hadn't verified their email.
I removed Auth::login($user); from the controller and it worked.
Thanks
Aug 24, 2022
1
Level 1
After New User Registration - Existing User Cannot Login
I am using the Breeze package. When I register a new user, with email verification turned on, an existing user, who has already verified their email, cannot login. It redirects to the verify-email view. However, if I open an incognito window, the existing user is able to log in just fine. After I register a new user, if I go into Chrome DevTools and delete the session Cookies, then I am able to log in the existing user.
Why is it doing this?
Solutions?
Thanks!
Level 1
Please or to participate in this conversation.