This commit is contained in:
nurmuhammet committed 2024-09-10 01:53:56 +05:00
1 parent 5920f74645
commit d029d7d384
2 files changed
+2 -17

No files matched your search

+2 -4
View File
@@ -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',
]);
}