Skip to content

Commit

Permalink
Fix replace declaration get user client roles
Browse files Browse the repository at this point in the history
  • Loading branch information
kresnasatya authored Oct 11, 2022
1 parent 2e15278 commit ad24d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/ci3/controllers/Webauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function callback()
try {
(new WebGuard())->validate($token);

$roles = (new WebGuard)->roles();
$roles = (new WebGuard)->user()->client_roles;

$role_active = $roles[0];

Expand Down

0 comments on commit ad24d16

Please sign in to comment.