File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ All of the authentication view's rendering logic may be customized using the app
136
136
*/
137
137
public function boot()
138
138
{
139
- Fortify::loginView(fn () => view('auth.login'));
139
+ Fortify::loginView(function () {
140
+ return view('auth.login');
141
+ });
140
142
141
143
// ...
142
144
}
@@ -298,7 +300,9 @@ use Laravel\Fortify\Fortify;
298
300
*/
299
301
public function boot()
300
302
{
301
- Fortify::registerView(fn () => view('auth.register'));
303
+ Fortify::registerView(function () {
304
+ return view('auth.register');
305
+ });
302
306
303
307
// ...
304
308
}
@@ -436,7 +440,9 @@ use Laravel\Fortify\Fortify;
436
440
*/
437
441
public function boot()
438
442
{
439
- Fortify::verifyEmailView(fn () => view('auth.verify-email'));
443
+ Fortify::verifyEmailView(function () {
444
+ return view('auth.verify-email');
445
+ });
440
446
441
447
// ...
442
448
}
You can’t perform that action at this time.
0 commit comments