Skip to content

Commit c4a3bc3

Browse files
Refactor method canAccessPanel in User model
1 parent 882a154 commit c4a3bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ protected function casts(): array
5050
public function canAccessPanel(Panel $panel): bool
5151
{
5252
/* TODO: Please implement your own logic here. */
53-
return str_ends_with($this->email, '@example.com');
53+
return true; // str_ends_with($this->email, '@example.com');
5454
}
5555
}

0 commit comments

Comments
 (0)