No way to change URL for redirect after changing password #3268
-
Description:I want to change the page a user is redirected after successfully changing their password, but I can't find a way to do this on the docs or through my own investigation. Is this currently possible with Laravel Nova? If not is there a hacky way to get this working? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Create your own ResetPasswordController which extends \Laravel\Nova\Http\Controllers\ResetPasswordController and override redirectPath(). You also have to override boot() in NovaServiceProvider and add an alias. app/Http/Controllers/ResetPasswordController.php
app/Providers/NovaServiceProvider
|
Beta Was this translation helpful? Give feedback.
Create your own ResetPasswordController which extends \Laravel\Nova\Http\Controllers\ResetPasswordController and override redirectPath(). You also have to override boot() in NovaServiceProvider and add an alias.
app/Http/Controllers/ResetPasswordController.php
app/Providers/NovaServiceProvider