Skip to content

Commit

Permalink
Set customer last area when logged in using SSO.
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 2, 2022
1 parent 87b6743 commit ec13c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ protected function bindRememberLocationAreaEvents(): void
]);
});

Event::listen('igniter.user.login', function () {
Event::listen(['igniter.user.login', 'igniter.socialite.login'], function () {
try {
if (!strlen($lastArea = Auth::customer()->last_location_area))
return;
Expand Down

0 comments on commit ec13c41

Please sign in to comment.