update
This commit is contained in:
parent
0777391709
commit
1143365a00
2 changed files with 25 additions and 15 deletions
|
@ -1,10 +1,11 @@
|
|||
import LoginForm from './components/login-form';
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { AppLogo } from '@/components/core/AppLogo';
|
||||
import Link from "next/link";
|
||||
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
<div className="flex min-h-[calc(100vh-10rem)] flex-col items-center justify-center">
|
||||
<div className="relative flex min-h-screen flex-col items-center justify-center">
|
||||
<Card className="w-full max-w-md shadow-2xl">
|
||||
<CardHeader className="text-center">
|
||||
<div className="mx-auto mb-6 w-fit">
|
||||
|
@ -17,6 +18,15 @@ export default function LoginPage() {
|
|||
<LoginForm />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<footer className="absolute bottom-4 left-0 right-0 text-center text-sm text-muted-foreground">
|
||||
<Link href="https://weexnes.dev/privacy" className="hover:underline" target="_blank">
|
||||
Privacy Policy
|
||||
</Link>
|
||||
<span className="mx-2">·</span>
|
||||
<Link href="https://weexnes.dev/legal" className="hover:underline" target="_blank">
|
||||
Legal
|
||||
</Link>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export const ADMIN_USERNAME = "admin";
|
||||
export const ADMIN_PASSWORD_HASH = "replace with valid bcrypt hash";
|
||||
export const AUTH_COOKIE_NAME = "fileverse_session";
|
||||
export const ADMIN_PASSWORD_HASH = "$2a$12$5.CxdP7e2HhsDzDagti1muu0SuMyw50vd2wSAbg0Jw6I8/GEkimGO";
|
||||
export const AUTH_COOKIE_NAME = "vividcdn_authed";
|
||||
|
|
Loading…
Add table
Reference in a new issue