Skip to content

Commit

Permalink
add some fake request data to see if that removes the mb_strtolower e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
fredbradley committed Apr 11, 2024
1 parent 91dcadd commit fe21de5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/Auth/FireflyAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ private function findOrCreateUserAndLogin(string $xmlString, Request $request):
$this->guard()->login($existingUser);
// Update db with login time
auth()->user()->update(['updated_at' => now()]);
// Fake request data
$request->merge(['email' => $user->email, 'username' => $user->email, 'password' => 'cranleigh12']);
return $this->sendLoginResponse($request);

// Let them know they've logged in
Expand Down

0 comments on commit fe21de5

Please sign in to comment.