mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 13:45:31 +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);
|
throw new ValidationException($validator);
|
||||||
}
|
}
|
||||||
} catch (ValidationException $e) {
|
} 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]));
|
return new RedirectResponse($this->url->to('forum')->route('resetPassword', ['token' => $token->id]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user