Skip to content

Commit 6d7bf82

Browse files
Update user canAccessPanel method to always return true
1 parent 3b51d5a commit 6d7bf82

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, '@larament.test');
5454
}
5555
}

0 commit comments

Comments
 (0)