Skip to content

Commit 6332f00

Browse files
added info about default user credentials to the sign-in page
1 parent c14b8c7 commit 6332f00

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/frontend/src/components/Auth/SignInForm/SignInForm.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { CircleAlert, Eye, EyeOff } from 'lucide-react';
55
import React, { useState } from 'react';
66
import { object as YupObject, string as YupString } from 'yup';
77

8+
import { Alert } from '@o2s/ui/components/alert';
89
import { Button } from '@o2s/ui/components/button';
910
import { Input } from '@o2s/ui/components/input';
1011
import { Label } from '@o2s/ui/components/label';
@@ -58,6 +59,15 @@ export const SignInForm: React.FC<SignInFormProps> = ({ providers, labels, onSig
5859
)}
5960
</div>
6061

62+
<Alert variant="default" className="flex flex-col gap-2">
63+
To sign in to the demo, you can use the following credentials:
64+
<Typography variant="small">
65+
username: jane@example.com
66+
<br />
67+
password: admin
68+
</Typography>
69+
</Alert>
70+
6171
<Formik<FormValues>
6272
initialValues={{
6373
username: '',

0 commit comments

Comments
 (0)