Skip to content

Commit

Permalink
Update error message to indicate that the user must refresh to try ag…
Browse files Browse the repository at this point in the history
…ain.
  • Loading branch information
robbieaverill committed Jun 24, 2019
1 parent 527c1b6 commit 8dc0740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/AdminRegistrationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function finishRegistration(HTTPRequest $request): HTTPResponse

if (!$store || !$this->getSudoModeService()->check($request->getSession())) {
return $this->jsonResponse(
['errors' => [_t(__CLASS__ . '.INVALID_SESSION', 'Invalid session. Please try again')]],
['errors' => [_t(__CLASS__ . '.INVALID_SESSION', 'Invalid session. Please refresh and try again.')]],
400
);
}
Expand Down

0 comments on commit 8dc0740

Please sign in to comment.