laravel / fortify

Backend controllers and scaffolding for Laravel authentication.

Home Page:https://laravel.com/docs/fortify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirect after register oder login doesn't work with 'home' => '/profil' in fortify-config

kakojak opened this issue · comments

Fortify Version

1.21.2

Laravel Version

11.6.0

PHP Version

8.2

Database Driver & Version

MySQL

Description

Redirect after register oder login doesn't work with 'home' => '/profil' in fortify-config
I also activated the EmailVerification.
I'm using Laravel Fortify without Jetstream.

Steps To Reproduce

When I make a registration or login its redirect me to / instead of /profil

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

So I think it is a bug in the Laravel Fortify package if you install it without Jetstream.

Did you find any solution about that ?

In my research I found that it use the default Laravel middleware "RedirectIfAuthenticated" inside the method "defaultRedirectUri". But the weird thing is that the default Uri are fixed and I'm not sure how to changed them...