diff --git a/app/login/page.tsx b/app/login/page.tsx index 72707dc..0488aa6 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -1,11 +1,12 @@ 'use client'; -import { useActionState } from 'react'; +import { useActionState, useState } from 'react'; import { login } from './actions'; import packageJson from '@/package.json'; export default function LoginPage() { const [state, loginAction, isPending] = useActionState(login, undefined); + const [showPassword, setShowPassword] = useState(false); const version = packageJson.version; const buildDate = process.env.NEXT_PUBLIC_BUILD_DATE || new Date().toLocaleDateString('de-DE', { day: '2-digit', month: '2-digit', year: 'numeric' }); @@ -48,16 +49,36 @@ export default function LoginPage() { > Passwort - +