Skip to content

Commit

Permalink
Allow showing info on blank page
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Nov 29, 2024
1 parent de9af6a commit 964124d
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 @@ -73,6 +73,9 @@ export default function Auth({
</Box>
</form>
)}
{info && !customForm && !usernamePasswordCallback && (
<Alert severity='info'>{<Markdown content={info} />}</Alert>
)}
{authProviders && (
<Box sx={{ display: 'flex', flexDirection: 'column', rowGap: 1 }}>
{authProviders.map(({ label, callbackUrl, iconUrl }, index) => (
Expand Down

0 comments on commit 964124d

Please sign in to comment.