feat: complete i18n support, telegram webhook, and security improvements
This commit is contained in:
@@ -23,7 +23,7 @@ export default function LoginForm({ dict, lang }: { dict: any; lang: string }) {
|
||||
});
|
||||
|
||||
if (res?.error) {
|
||||
setError("E-posta veya şifre hatalı."); // We can translate this later
|
||||
setError(dict.errorInvalid || "E-posta veya şifre hatalı.");
|
||||
} else {
|
||||
router.push(`/${lang}/dashboard`);
|
||||
router.refresh();
|
||||
|
||||
Reference in New Issue
Block a user