Skip to content

Commit

Permalink
Fix missing $providerUser argument
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jun 1, 2022
1 parent fe229d0 commit d1df044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ProviderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ protected function handleProviderCallback($providerClass, $errorUrl)
'user' => $providerUser,
]);

if ($providerClass->shouldConfirmEmail())
if ($providerClass->shouldConfirmEmail($providerUser))
return redirect()->to(page_url('/confirm-email'));
}
catch (Exception $ex) {
Expand Down

0 comments on commit d1df044

Please sign in to comment.