-
Notifications
You must be signed in to change notification settings - Fork 294
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
Referencing issue #546 #549
Comments
Heya, thanks for reporting. We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up. laravel new bug-report --github="--public" Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue. Thanks! |
Hey, Repo link: https://github.com/joaoribeiro-controlink/laravel-bugreport-hasuuid |
I only installed laravel/fortify and laravel/breeze, at the moment authentication is only possible if the remember checkbox is checked |
I'm sorry @joaoribeiro-controlink but that's way too much changes in a single commit. I can't possible tell what your custom changes are. Please re-create the repo and commit anything installer/jetstream setup separately and all of your custom changes like the UUID changes you mention in a separate commit for me to review. |
@driesvints The only thing I did is this: The rest has been made by fortify and breeze |
@joaoribeiro-controlink Laravel Breeze doesn't use Laravel Fortify. So |
Yeah I think there's still some things missing here. It might be best if you first try a support channel:
|
That's a way to close the ticket... Just try it on a new project, add the trait HasUuids to the user model and the login will not work... The breeze is just a UI start package... |
Breeze doesn't use Fortify and therefore this report is invalid. And no, Breeze not just a UI package as install it's own set of Controllers https://github.com/laravel/breeze/blob/2.x/stubs/default/app/Http/Controllers/Auth/AuthenticatedSessionController.php |
@crynobone Right, so try to use this Trait on a clean Laravel installation and check if it work as suppose.. Basically, fortify will only authenticate if the remember is passed as true if not, it happears that the auth session expire in the next second after the login |
I been developing a project on Fortify this week and doesn't have this issue. |
Fortify Version
1.21.3
Laravel Version
11.11.0
PHP Version
8.2.5
Database Driver & Version
MySQL 8
Description
Fortify does not make a successful authentication if the "remember" field is not passed as true.
I found that the problem is because the User model hasUuids trait on it.
Steps To Reproduce
Adding this to the FortifyServiceProvider on the boot method:
The text was updated successfully, but these errors were encountered: