This commit is contained in:
Andras Bacsai
2023-06-12 16:39:48 +02:00
parent 3e18f0f238
commit 18fde01ed5
5 changed files with 42 additions and 40 deletions

View File

@@ -9,7 +9,7 @@
<div class="flex items-center gap-2">
<h1>{{ __('auth.forgot_password') }}</h1>
</div>
<div class="w-96">
<div>
@if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
@@ -18,7 +18,9 @@
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
@else
'asd'
<div>Transactional emails are not active on this instance.</div>
<div>See how to set it in our <a class="text-white" target="_blank"
href="https://docs.coollabs.io/coolify">docs</a>, or how to manually reset password.</div>
@endif
@if ($errors->any())
<div class="text-xs text-center text-error">