We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3b026 commit e7cd98cCopy full SHA for e7cd98c
web/src/app/auth/login/HeaderLogin.tsx
@@ -5,7 +5,6 @@ import { basicLogin, basicSignup } from "@/lib/user";
5
import { useRouter } from "next/navigation";
6
import { useEffect } from "react";
7
import { Spinner } from "@/components/Spinner";
8
-import { v4 as uuidv4 } from 'uuid';
9
10
export function HeaderLoginLoading({
11
user, groups
@@ -18,7 +17,7 @@ export function HeaderLoginLoading({
18
17
const router = useRouter();
19
const { popup, setPopup } = usePopup();
20
const email = `${user}@default.com`;
21
- const password = `not-used-${uuidv4()}`
+ const password = `not-used-${user}`
22
const role = groups.includes("/admins") ? "admin" : "basic"
23
24
async function tryLogin() {
0 commit comments