Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]: Cannot Log Out when ->enforceTwoFactorSetup() #15

Closed
gustavocaiano opened this issue Jan 2, 2025 · 2 comments · Fixed by #16
Closed

[Bug]: Cannot Log Out when ->enforceTwoFactorSetup() #15

gustavocaiano opened this issue Jan 2, 2025 · 2 comments · Fixed by #16
Labels
bug Something isn't working

Comments

@gustavocaiano
Copy link
Contributor

What happened?

When ->enforceTwoFactorSetup() is on, if the user has not yet setup the 2FA, they won't be able to log out before doing so, despite having the option showing ("Log Out")

How to reproduce the bug

php artisan migrate:fresh ( -> seed user ) -> login -> 2FA setup prompt will appear -> try to Log Out

Package Version

0.0.9

PHP Version

8.3

Laravel Version

11^

Which operating systems does with happen with?

Windows

Notes

No response

@gustavocaiano gustavocaiano added the bug Something isn't working label Jan 2, 2025
@stephenjude
Copy link
Owner

@gustavocaiano Can you push a fix for this?

@gustavocaiano
Copy link
Contributor Author

Hi @stephenjude ! Check PR #16 please .
Thank you for the package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants