diff --git a/src/components/auth/LoginForm.tsx b/src/components/auth/LoginForm.tsx index b2d8ce2..f7b5329 100644 --- a/src/components/auth/LoginForm.tsx +++ b/src/components/auth/LoginForm.tsx @@ -12,12 +12,13 @@ import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { useState } from "react" import { loginUser } from "@/handlers/api/user.handler" +import { useConfig } from "@/contexts/ConfigContext" export const description = "A login form with email and password. There's an option to login with Google and a link to sign up if you don't have an account." export function LoginForm() { - + const { exImmichUrl } = useConfig() const [formData, setFormData] = useState({ email: "", password: "", @@ -44,45 +45,49 @@ export function LoginForm() { return ( - - - Login - - Enter your email below to login to your account - - - -
-
- - -
-
-
- - - Forgot your password? - +
+ + + Immich Power Tools + Login to Immich + + Login to your connected Immich instance ({exImmichUrl}) + + + + +
+ +
- -
- - - - - - +
+ + +
+ + + + + + +
) }