File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
adminlte-stubs/auth/passwords Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2828 <form action =" {{ route (' password.update' ) } }" method =" POST" >
2929 @csrf
3030
31+ @php
32+ if (! isset ($token )) {
33+ $token = \Request:: route (' token' );
34+ }
35+ @endphp
36+
3137 <input type =" hidden" name =" token" value =" {{ $token } }" >
3238
3339 <div class =" input-group mb-3" >
Original file line number Diff line number Diff line change @@ -25,27 +25,27 @@ public function boot()
2525 });
2626
2727 Fortify::loginView (function () {
28- view ('auth.login ' );
28+ return view ('auth.login ' );
2929 });
3030
3131 Fortify::registerView (function () {
32- view ('auth.register ' );
32+ return view ('auth.register ' );
3333 });
3434
3535 Fortify::confirmPasswordView (function () {
36- view ('auth.passwords.confirm ' );
36+ return view ('auth.passwords.confirm ' );
3737 });
3838
3939 Fortify::requestPasswordResetLinkView (function () {
40- view ('auth.passwords.email ' );
40+ return view ('auth.passwords.email ' );
4141 });
4242
4343 Fortify::resetPasswordView (function (Request $ request ) {
44- view ('auth.passwords.reset ' );
44+ return view ('auth.passwords.reset ' );
4545 });
4646
4747 Fortify::verifyEmailView (function () {
48- view ('auth.verify ' );
48+ return view ('auth.verify ' );
4949 });
5050 }
5151}
You can’t perform that action at this time.
0 commit comments