Skip to content

Commit aab1156

Browse files
committed
Fixed email verifications not sending the first time
1 parent 2e5dde0 commit aab1156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function store(Request $request)
7373
$user = $request->name;
7474
$email = $request->email;
7575

76-
if(env('REGISTER_AUTH') == 'auth'){
76+
if(env('REGISTER_AUTH') == 'verified'){
7777
if(env('MANUAL_USER_VERIFICATION') == true){
7878
try {
7979
Mail::send('auth.user-confirmation', ['user' => $user, 'email' => $email], function ($message) use ($user) {

0 commit comments

Comments
 (0)