From 13a3720994b89a6e839820a1b52de4be30c58958 Mon Sep 17 00:00:00 2001 From: alexcaussades Date: Mon, 13 Nov 2023 23:46:10 +0100 Subject: [PATCH] Change metar add vid (#124) * Feacture * testing * Fixed Tracker * changelog * correct Email --- app/Http/Controllers/usersController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/usersController.php b/app/Http/Controllers/usersController.php index 93adb76..585353b 100644 --- a/app/Http/Controllers/usersController.php +++ b/app/Http/Controllers/usersController.php @@ -120,7 +120,7 @@ public function connect_via_ivao($request, $data) 'vid' => $data["id"], 'name_first' => $data["firstName"], 'name_last' => $data["lastName"], - 'email' => $data["email"], + 'email' => $data["email"] ?? "null", 'password' => Hash::make("ivao"), 'email_verified_at' => now(), 'remember_token' => Str::random(10), @@ -188,7 +188,6 @@ public function logout(Request $request) $request->session()->forget('remember_token'); $request->session()->forget('ivao_tokens'); $request->session()->flush(); - } public function get_info_user($id)