Skip to content

Commit 33b224e

Browse files
committed
fix: fix developer logins
1 parent bb8e3ff commit 33b224e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EclipseServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ public function boot(): void
191191

192192
private function isAdminRequest(): bool
193193
{
194-
$uri = trim(request()->getRequestUri(), '/');
194+
$uri = explode('/', trim(request()->getRequestUri(), '/'));
195195

196-
return $uri === 'admin' || str_starts_with($uri, 'admin/');
196+
return $uri[0] === 'admin' || $uri[0] === 'filament-developer-logins';
197197
}
198198
}

0 commit comments

Comments
 (0)