Skip to content

Commit b757cbd

Browse files
Update User.php
1 parent 72e2722 commit b757cbd

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

app/Models/User.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,9 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
7474
*/
7575
public function canAccessPanel(Panel $panel): bool
7676
{
77-
if ($panel->getId() === 'admin') {
78-
return false;
79-
}
80-
8177
return true;
8278
}
83-
84-
public function canImpersonate(): bool
85-
{
86-
return false;
87-
}
88-
79+
8980
protected function casts(): array
9081
{
9182
return [

0 commit comments

Comments
 (0)