Fixed email verifications not sending the first time
This commit is contained in:
parent
2e5dde0f88
commit
aab11565c0
|
@ -73,7 +73,7 @@ class RegisteredUserController extends Controller
|
||||||
$user = $request->name;
|
$user = $request->name;
|
||||||
$email = $request->email;
|
$email = $request->email;
|
||||||
|
|
||||||
if(env('REGISTER_AUTH') == 'auth'){
|
if(env('REGISTER_AUTH') == 'verified'){
|
||||||
if(env('MANUAL_USER_VERIFICATION') == true){
|
if(env('MANUAL_USER_VERIFICATION') == true){
|
||||||
try {
|
try {
|
||||||
Mail::send('auth.user-confirmation', ['user' => $user, 'email' => $email], function ($message) use ($user) {
|
Mail::send('auth.user-confirmation', ['user' => $user, 'email' => $email], function ($message) use ($user) {
|
||||||
|
|
Loading…
Reference in New Issue