Skip to content

Commit

Permalink
Fixed login problem for admins and editors in admin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Aug 1, 2018
1 parent 2799b76 commit e402b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aimeos/Shop/Base/Support.php
Expand Up @@ -79,7 +79,7 @@ public function checkUserGroup( \Illuminate\Foundation\Auth\User $user, $groupco

foreach( array_reverse( $context->getLocale()->getSitePath() ) as $siteid )
{
if( (string) $user->siteid === $siteid ) {
if( (string) $user->siteid === (string) $siteid ) {
$this->cache[$user->id][$groups] = $this->checkGroups( $context, $user->id, $groupcodes );
}
}
Expand Down

0 comments on commit e402b8f

Please sign in to comment.