diff --git a/app/Http/Controllers/Auth/FireflyAuth.php b/app/Http/Controllers/Auth/FireflyAuth.php index 14af043..2266872 100644 --- a/app/Http/Controllers/Auth/FireflyAuth.php +++ b/app/Http/Controllers/Auth/FireflyAuth.php @@ -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