feat: add email verification for cloud
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
@if ($is_registration_enabled)
|
||||
@if (config('coolify.waitlist'))
|
||||
<a href="/waitlist"
|
||||
class="text-xs normal-case hover:no-underline btn btn-sm bg-coollabs-gradient">
|
||||
class="text-xs text-center text-white normal-case bg-transparent border-none rounded no-animation hover:no-underline btn btn-sm bg-coollabs-gradient">
|
||||
Join the waitlist
|
||||
</a>
|
||||
@else
|
||||
<a href="/register"
|
||||
class="text-xs normal-case hover:no-underline btn btn-sm bg-coollabs-gradient">
|
||||
class="text-xs text-center text-white normal-case bg-transparent border-none rounded no-animation hover:no-underline btn btn-sm bg-coollabs-gradient">
|
||||
{{ __('auth.register_now') }}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
12
resources/views/auth/verify-email.blade.php
Normal file
12
resources/views/auth/verify-email.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<x-layout-subscription>
|
||||
<div class="min-h-screen hero">
|
||||
<div class="min-w-fit">
|
||||
<h1> Verification Email Sent </h1>
|
||||
<div class="flex justify-center gap-2 text-center">
|
||||
<br>To activate your account, please open the email and follow the
|
||||
instructions.
|
||||
</div>
|
||||
<livewire:verify-email />
|
||||
</div>
|
||||
</div>
|
||||
</x-layout-subscription>
|
||||
3
resources/views/emails/email-verification.blade.php
Normal file
3
resources/views/emails/email-verification.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<x-emails.layout>
|
||||
Verify your email [here]({{ $url }}).
|
||||
</x-emails.layout>
|
||||
3
resources/views/livewire/verify-email.blade.php
Normal file
3
resources/views/livewire/verify-email.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="pt-4">
|
||||
<x-forms.button wire:click="again">Send Verification Email Again</x-forms.button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user