Skip to content

Commit

Permalink
Allow Showing Only Error Message on Login Page
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Jan 24, 2025
1 parent d205db7 commit 704562b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locust/webui/src/pages/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export default function Auth({
{info && !customForm && !usernamePasswordCallback && (
<Alert severity='info'>{<Markdown content={info} />}</Alert>
)}
{error && !customForm && !usernamePasswordCallback && (
<Alert severity='error'>{<Markdown content={error} />}</Alert>
)}
{authProviders && (
<Box sx={{ display: 'flex', flexDirection: 'column', rowGap: 1 }}>
{authProviders.map(({ label, callbackUrl, iconUrl }, index) => (
Expand Down

0 comments on commit 704562b

Please sign in to comment.