mirror of
https://github.com/flarum/framework.git
synced 2025-04-13 22:56:37 +08:00
Fix old session method name
This commit is contained in:
parent
3394abde2b
commit
1b788a09f7
@ -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…
x
Reference in New Issue
Block a user