Skip to content

Commit 4300d5a

Browse files
committed
Mock Login
1 parent 0f3f899 commit 4300d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/Authentication/Login.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Login: React.FC = () => {
3030

3131
const onSubmit = (values: ILoginFormValues, submitProps: FormikHelpers<ILoginFormValues>) => {
3232
// Mock authentication - bypass real backend
33-
const MOCK_USERNAME = "instructor6";
33+
const MOCK_USERNAME = "admin";
3434
const MOCK_PASSWORD = "password";
3535

3636
if (values.user_name === MOCK_USERNAME && values.password === MOCK_PASSWORD) {
@@ -81,7 +81,7 @@ const Login: React.FC = () => {
8181
dispatch(
8282
alertActions.showAlert({
8383
variant: "danger",
84-
message: "Use username: 'instructor6' and password: 'password'",
84+
message: "Use username: 'admin' and password: 'password'",
8585
title: "Unable to authenticate user!",
8686
})
8787
);

0 commit comments

Comments
 (0)