Skip to content

Commit e7cd98c

Browse files
committed
Use deterministic dummy creds
1 parent 7a3b026 commit e7cd98c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/src/app/auth/login/HeaderLogin.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { basicLogin, basicSignup } from "@/lib/user";
55
import { useRouter } from "next/navigation";
66
import { useEffect } from "react";
77
import { Spinner } from "@/components/Spinner";
8-
import { v4 as uuidv4 } from 'uuid';
98

109
export function HeaderLoginLoading({
1110
user, groups
@@ -18,7 +17,7 @@ export function HeaderLoginLoading({
1817
const router = useRouter();
1918
const { popup, setPopup } = usePopup();
2019
const email = `${user}@default.com`;
21-
const password = `not-used-${uuidv4()}`
20+
const password = `not-used-${user}`
2221
const role = groups.includes("/admins") ? "admin" : "basic"
2322

2423
async function tryLogin() {

0 commit comments

Comments
 (0)