Add the validation for the /login page.

This commit is contained in:
2024-04-18 17:27:55 +03:00
parent 0d2566c8ce
commit da7b6e6122
2 changed files with 12 additions and 3 deletions
+5
View File
@@ -12,6 +12,11 @@
<h1 class="text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl dark:text-white">
Sign in to your account
</h1>
{{#if error }}
<p class="text-xl font-bold leading-tight tracking-tight text-red-600">
{{ error }}
</p>
{{/if}}
<form class="space-y-4 md:space-y-6" action="/login" method="POST">
<div>
<label for="login" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your login</label>