fix: forgot password

This commit is contained in:
Andras Bacsai 2023-09-13 11:29:31 +02:00
parent 898563fe7c
commit fa4f5fea8c

View File

@ -23,7 +23,7 @@ class="text-xs normal-case hover:no-underline btn btn-sm bg-coollabs-gradient">
<div>
<form action="/login" method="POST" class="flex flex-col gap-2">
@csrf
@env('local')
@env('local')
<x-forms.input value="test@example.com" type="email" name="email"
label="{{ __('input.email') }}" autofocus />
@ -35,8 +35,10 @@ class="text-xs normal-case hover:no-underline btn btn-sm bg-coollabs-gradient">
@else
<x-forms.input type="email" name="email" label="{{ __('input.email') }}" autofocus />
<x-forms.input type="password" name="password" label="{{ __('input.password') }}" />
<a href="/forgot-password" class="text-xs">
{{ __('auth.forgot_password') }}?
</a>
@endenv
<x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button>
@if (!$is_registration_enabled)
<div class="text-center ">{{ __('auth.registration_disabled') }}</div>