mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-14 03:05:46 +01:00
fa4f4f1441
Added email verification after user registration. After a user registered, an email is sent to the email used to sign up. The mail contains a verification link which is required to complete the registration process. This feature can be turned off in the Admin Panel under: Admin>Config by changing the setting "Register_auth" from "verified" to "auth". Read more about this on the Blog here: https://blog.littlelink-custom.com/optional-email-verification/
40 lines
1.5 KiB
PHP
Executable File
40 lines
1.5 KiB
PHP
Executable File
<x-guest-layout>
|
|
<x-auth-card>
|
|
<x-slot name="logo">
|
|
<a href="{{ url('') }}">
|
|
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
|
|
</a>
|
|
</x-slot>
|
|
|
|
<div class="mb-4 text-sm text-gray-600">
|
|
{{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another. If you do not see the email in a few minutes, check your junk mail or spam folder.') }}
|
|
</div>
|
|
|
|
@if (session('status') == 'verification-link-sent')
|
|
<div class="mb-4 font-medium text-sm text-green-600">
|
|
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
|
|
</div>
|
|
@endif
|
|
|
|
<div class="mt-4 flex items-center justify-between">
|
|
<form method="POST" action="{{ route('verification.send') }}">
|
|
@csrf
|
|
|
|
<div>
|
|
<x-button>
|
|
{{ __('Resend Verification Email') }}
|
|
</x-button>
|
|
</div>
|
|
</form>
|
|
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
@csrf
|
|
|
|
<button type="submit" class="underline text-sm text-gray-600 hover:text-gray-900">
|
|
{{ __('Log out') }}
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</x-auth-card>
|
|
</x-guest-layout>
|