This commit is contained in:
PxlLoewe
2025-07-24 11:58:11 -07:00
parent 0c80c046e1
commit 4c6a009764
8 changed files with 55 additions and 24 deletions

View File

@@ -33,7 +33,7 @@ export const Login = () => {
try {
const data = await signIn("credentials", {
redirect: false,
email: form.getValues("email"),
email: form.getValues("email").toLowerCase(),
password: form.getValues("password"),
});
setIsLoading(false);
@@ -62,12 +62,12 @@ export const Login = () => {
Registrierung
</Link>
</span>
<div className="alert alert-info alert-outline text-sm font-semibold text-center justify-center">
<div className="alert alert-info alert-outline justify-center text-center text-sm font-semibold">
Du warst bereits Nutzer der V1? <br />
Melde dich mit deinen alten Zugangsdaten an.
</div>
<div className="mt-5 mb-2">
<label className="input input-bordered flex items-center gap-2 w-full">
<div className="mb-2 mt-5">
<label className="input input-bordered flex w-full items-center gap-2">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
@@ -84,7 +84,7 @@ export const Login = () => {
? form.formState.errors.email.message
: ""}
</p>
<label className="input input-bordered flex items-center gap-2 mt-2 w-full">
<label className="input input-bordered mt-2 flex w-full items-center gap-2">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
@@ -105,8 +105,8 @@ export const Login = () => {
className="grow"
/>
</label>
<span className="text-sm font-medium flex justify-end">
<Link href="/passwort-reset" className="link link-accent link-hover ">
<span className="flex justify-end text-sm font-medium">
<Link href="/passwort-reset" className="link link-accent link-hover">
Passwort vergessen?
</Link>
</span>