1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 08:11:27 +02:00

Fix reset password

This commit is contained in:
Toby Zerner
2018-08-24 21:54:46 +09:30
parent f2f9c3c21c
commit fbdfeeec85

View File

@@ -49,7 +49,7 @@ class ResetPasswordController extends AbstractHtmlController
} }
return $this->view->make('flarum.forum::reset-password') return $this->view->make('flarum.forum::reset-password')
->with('passwordToken', $token->id) ->with('passwordToken', $token->token)
->with('csrfToken', $request->getAttribute('session')->token()); ->with('csrfToken', $request->getAttribute('session')->token());
} }
} }