mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 12:48:30 +08:00
Fix old session method name
This commit is contained in:
parent
41544c8529
commit
6654894da1
|
@ -86,7 +86,7 @@ class SavePasswordController implements RequestHandlerInterface
|
|||
throw new ValidationException($validator);
|
||||
}
|
||||
} catch (ValidationException $e) {
|
||||
$request->getAttribute('session')->set('errors', $e->errors());
|
||||
$request->getAttribute('session')->put('errors', $e->errors());
|
||||
|
||||
return new RedirectResponse($this->url->to('forum')->route('resetPassword', ['token' => $token->id]));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user