Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v15] web: fix grammar on login failure component #45911

Merged
merged 2 commits into from
Aug 28, 2024
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
5 changes: 3 additions & 2 deletions web/packages/teleport/src/Login/LoginFailed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function LoginFailed() {
return (
<Switch>
<Route path={cfg.routes.loginErrorCallback}>
<LoginFailedComponent message="unable to process callback" />
<LoginFailedComponent message="Unable to process SSO callback." />
</Route>
<Route path={cfg.routes.loginErrorUnauthorized}>
<LoginFailedComponent message="You are not authorized, please contact your SSO administrator." />
Expand All @@ -38,7 +38,8 @@ export function LoginFailed() {
}

export function LoginFailedComponent({ message }: { message?: string }) {
const defaultMsg = "unable to login, please check Teleport's log for details";
const defaultMsg =
"Unable to log in, please check Teleport's log for details.";
return (
<>
<LogoHero />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ exports[`default error message 1`] = `
class="c4"
kind="danger"
>
unable to login, please check Teleport's log for details
Unable to log in, please check Teleport's log for details.
</div>

<div
Expand Down
Loading