Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Change metar add vid (#124)
Browse files Browse the repository at this point in the history
* Feacture

* testing

* Fixed Tracker

* changelog

* correct Email
  • Loading branch information
alexcaussades authored Nov 13, 2023
1 parent 9da2769 commit 13a3720
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/usersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 13a3720

Please sign in to comment.