matiasarea
Error redirecting a custom page
Based on what you say, I'm thinking that when I have the middleware Authenticate from filament, the custom page rejects the access because it doesn't have a valid session yet.
The LoginSuccess event would have been a good alternative, because it executes that validation after an OK event occurred.
19 replies
Error redirecting a custom page
I understand that the problem in the question is that I am doing the redirect inside a middleware.
The case is the following, I have to check if the user has to change the password. So we have a middleware that checks it after the login of the Filament-Brezzy, but I understand that it should not be a middleware but it should be a function that runs after validating the user, but filament brezzy returns:
And I'm not being able to change to a return redirect(MyCustumPage::getUrl())
19 replies