Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dmhall0's avatar

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!

0 likes
1 reply
dmhall0's avatar
dmhall0
OP
Best Answer
Level 1

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

Please or to participate in this conversation.