mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-17 12:30:57 +01:00
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;
|
||||
$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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user