mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-22 06:28:10 +02:00
feat(auth): pre-fill login credentials for admin user
This commit is contained in:
1 parent
783d8ffccb
commit
2a357a0d69
1 file changed
+2
-2
@@ -11,8 +11,8 @@ import { Lock, User, Sparkles } from "lucide-react";
|
|||||||
export default function Login() {
|
export default function Login() {
|
||||||
const [, setLocation] = useLocation();
|
const [, setLocation] = useLocation();
|
||||||
const { toast } = useToast();
|
const { toast } = useToast();
|
||||||
const [username, setUsername] = useState("");
|
const [username, setUsername] = useState("admin");
|
||||||
const [password, setPassword] = useState("");
|
const [password, setPassword] = useState("admin");
|
||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [showDefaultPassword, setShowDefaultPassword] = useState(false);
|
const [showDefaultPassword, setShowDefaultPassword] = useState(false);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user