wip
This commit is contained in:
1 parent
5920f74645
commit
d029d7d384
2 files changed
+2
-17
No files matched your search
+2
-4
@@ -95,10 +95,8 @@ public function withoutRole(): bool
|
||||
*/
|
||||
public function canAccessApiDocs(): bool
|
||||
{
|
||||
return in_array($this->email, [
|
||||
'nurmuhammet@mail.com',
|
||||
'mahmyt1206@gmail.com',
|
||||
'api@mail.com',
|
||||
return $this->isMe() || in_array($this->username, [
|
||||
'muhammet',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user