Skip to content

Commit

Permalink
Merge branch 'main' into fix/tup-715-prevent-ugly-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Aug 7, 2024
2 parents e172893 + 3c871cd commit fe8cf73
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions libs/tup-components/src/auth/LoginComponent/LoginComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ const LoginError: React.FC<{ status?: number; isError: boolean }> = ({
</div>
);
}
if (status === 451) {
return (
<div className="c-form__errors">
Your account has been suspended. Please{' '}
<a
rel="noopener noreferrer"
target="_blank"
href="https://accounts.tacc.utexas.edu/login_support"
>
request account support
</a>
.
</div>
);
}
return (
<div className="c-form__errors">
Sorry. Something went wrong while trying to log in. Please try again
Expand Down

0 comments on commit fe8cf73

Please sign in to comment.