Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/public/components/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ const LoginErrorMessage: React.FC = () => {
case 'login_state_error':
return t('public~There was an error generating login state.');
case 'cookie_error':
return t('public~There was an error setting login state cookie');
return t('public~There was an error setting login state cookie.');
case 'logout_error':
return t('public~There was an error logging you out. Please try again.');
case 'auth':
// When the error type is set as auth
switch (error) {
case 'missing_state':
return t('public~There was an error parsing your state cookie');
return t('public~There was an error parsing your state cookie.');
case 'invalid_state':
return t(
'public~There was an error verifying your session. Please log out and try again.',
Expand Down Expand Up @@ -148,7 +148,7 @@ export const AuthenticationErrorPage: React.FC = () => {
</Stack>
}
customFooter={
<ButtonLink variant="primary" href="/logout">
<ButtonLink variant="primary" href="/">
{t('public~Try again')}
</ButtonLink>
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,9 @@
"There was a problem processing the request. Please try again.": "There was a problem processing the request. Please try again.",
"There was an error generating OAuth client from OIDC client.": "There was an error generating OAuth client from OIDC client.",
"There was an error generating login state.": "There was an error generating login state.",
"There was an error setting login state cookie": "There was an error setting login state cookie",
"There was an error setting login state cookie.": "There was an error setting login state cookie.",
"There was an error logging you out. Please try again.": "There was an error logging you out. Please try again.",
"There was an error parsing your state cookie": "There was an error parsing your state cookie",
"There was an error parsing your state cookie.": "There was an error parsing your state cookie.",
"There was an error verifying your session. Please log out and try again.": "There was an error verifying your session. Please log out and try again.",
"Auth code is missing in query param.": "Auth code is missing in query param.",
"There was an error logging you in. Please log out and try again.": "There was an error logging you in. Please log out and try again.",
Expand Down