You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,15 @@ This package comes with a language file, that allows you to modify the error / c
74
74
might see. In addition to that, you can change the notification class that will be used to send the confirmation code
75
75
completely, by changing it in the `config/confirmation.php` file.
76
76
77
+
### Change redirect routes
78
+
You can change all possible redirect routes by including these values either as properties in your registration controller, or as methods returning the route/URL string:
79
+
80
+
-`redirectConfirmationTo`
81
+
-`redirectAfterRegistrationTo`
82
+
-`redirectAfterResendConfirmationTo`
83
+
84
+
They all default to `route('login')`.
85
+
77
86
### The Confirmed Event
78
87
On successful email confirmation, this package dispatches a `Confirmed` event, in order for you to conveniently handle
79
88
any custom logic, such as sending a welcome email or automatically logging the user in.
0 commit comments