Fixed email verifications not sending the first time

This commit is contained in:
Julian Prieber 2023-12-05 19:06:24 +01:00
parent 2e5dde0f88
commit aab11565c0
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class RegisteredUserController extends Controller
$user = $request->name;
$email = $request->email;
if(env('REGISTER_AUTH') == 'auth'){
if(env('REGISTER_AUTH') == 'verified'){
if(env('MANUAL_USER_VERIFICATION') == true){
try {
Mail::send('auth.user-confirmation', ['user' => $user, 'email' => $email], function ($message) use ($user) {