Skip to content

Commit

Permalink
Add remember for OAuth logins (nabeelio#1831)
Browse files Browse the repository at this point in the history
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
  • Loading branch information
arthurpar06 and nabeelio authored Jul 3, 2024
1 parent b83c47f commit 6bb6fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/OAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function handleProviderCallback(string $provider, Request $request): View
'last_refreshed_at' => now(),
]);

Auth::login($user);
Auth::login($user, true);

if ($provider === 'discord') {
$this->userSvc->retrieveDiscordPrivateChannelId($user);
Expand Down

0 comments on commit 6bb6fd7

Please sign in to comment.