Spaces:
Running
Running
Tai Truong
commited on
Commit
·
1ae2974
1
Parent(s):
97051d1
update title and logo
Browse files
src/frontend/src/constants/constants.ts
CHANGED
|
@@ -605,8 +605,8 @@ export const CONTROL_PATCH_USER_STATE = {
|
|
| 605 |
};
|
| 606 |
|
| 607 |
export const CONTROL_LOGIN_STATE = {
|
| 608 |
-
username: "",
|
| 609 |
-
password: "",
|
| 610 |
};
|
| 611 |
|
| 612 |
export const CONTROL_NEW_USER = {
|
|
|
|
| 605 |
};
|
| 606 |
|
| 607 |
export const CONTROL_LOGIN_STATE = {
|
| 608 |
+
username: "test",
|
| 609 |
+
password: "test12345",
|
| 610 |
};
|
| 611 |
|
| 612 |
export const CONTROL_NEW_USER = {
|
src/frontend/src/pages/LoginPage/index.tsx
CHANGED
|
@@ -73,6 +73,10 @@ export default function LoginPage(): JSX.Element {
|
|
| 73 |
OpenDigital.no
|
| 74 |
</span>
|
| 75 |
<div className="mb-3 w-full">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
<Form.Field name="username">
|
| 77 |
<Form.Label className="data-[invalid]:label-invalid">
|
| 78 |
Username <span className="font-medium text-destructive">*</span>
|
|
|
|
| 73 |
OpenDigital.no
|
| 74 |
</span>
|
| 75 |
<div className="mb-3 w-full">
|
| 76 |
+
<div className="py-5">
|
| 77 |
+
<p>Test account:</p>
|
| 78 |
+
<div>username: test / password: test12345</div>
|
| 79 |
+
</div>
|
| 80 |
<Form.Field name="username">
|
| 81 |
<Form.Label className="data-[invalid]:label-invalid">
|
| 82 |
Username <span className="font-medium text-destructive">*</span>
|