Add the validation for the /login page.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user