Skip to content

Commit

Permalink
feat: remove roles from user list
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Dec 14, 2024
1 parent a7ff69a commit 8712722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function get()
$userData = $this->data;

$idKey = Config::get('id.key');
$hidden = Config::get('hidden');
$hidden = array_merge(Config::get('hidden'), ['roles']);
$passwordKey = Config::get('password.key');

if (count($hidden) > 0) {
Expand Down

0 comments on commit 8712722

Please sign in to comment.