coolify/resources/views/auth/forgot-password.blade.php

46 lines
2 KiB
PHP
Raw Normal View History

2023-06-01 06:19:33 +00:00
<x-layout-simple>
<x-auth.shell title="MapleDeploy"
description="Enter your account email and well send you a secure reset link.">
<div class="flex flex-col gap-4">
@if (session('status'))
<x-auth.alert type="success">{{ session('status') }}</x-auth.alert>
@endif
2025-10-16 15:01:32 +00:00
@if ($errors->any())
<x-auth.alert type="error">
<div class="flex flex-col gap-1">
@foreach ($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
2023-06-01 10:15:33 +00:00
</div>
</x-auth.alert>
@endif
2025-10-16 15:01:32 +00:00
@if (is_transactional_emails_enabled())
<form action="/forgot-password" method="POST" class="flex flex-col gap-4">
@csrf
<x-forms.input required type="email" name="email" autocomplete="email" autofocus
label="{{ __('input.email') }}" />
<x-forms.button class="w-full justify-center" type="submit" isHighlighted>
{{ __('auth.forgot_password_send_email') }}
</x-forms.button>
</form>
@else
<x-auth.alert type="warning">
<p class="font-medium">Transactional email is not configured</p>
<p class="mt-0.5 text-black/70 dark:text-white/70">
Configure email delivery or follow the
<a class="font-medium underline underline-offset-2" target="_blank" rel="noopener noreferrer"
href="{{ config('constants.urls.docs') }}">manual reset guide</a>.
</p>
</x-auth.alert>
@endif
2023-06-01 06:19:33 +00:00
</div>
<x-slot:footer>
<span>Remember your password?</span>
<a href="/login" class="auth-text-link">Back to login</a>
</x-slot:footer>
</x-auth.shell>
</x-layout-simple>