Fix old session method name

This commit is contained in:
Toby Zerner 2018-11-22 07:24:44 +10:30
parent 41544c8529
commit 6654894da1

View File

@ -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]));
}