forked from stechstudio/filament-impersonate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
filament-impersonate.php
22 lines (17 loc) · 895 Bytes
/
filament-impersonate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
return [
// This is the guard used when logging in as the impersonated user.
'guard' => env('FILAMENT_IMPERSONATE_GUARD', 'web'),
// After impersonating this is where we'll redirect you to.
'redirect_to' => env('FILAMENT_IMPERSONATE_REDIRECT', '/'),
// We wire up a route for the "leave" button. You can change the middleware stack here if needed.
'leave_middleware' => env('FILAMENT_IMPERSONATE_LEAVE_MIDDLEWARE', 'web'),
'banner' => [
// Currently supports 'dark' and 'light'.
'style' => env('FILAMENT_IMPERSONATE_BANNER_STYLE', 'dark'),
// Turn this off if you want `absolute` positioning, so the banner scrolls out of view
'fixed' => env('FILAMENT_IMPERSONATE_BANNER_FIXED', true),
// Currently supports 'top' and 'bottom'.
'position' => env('FILAMENT_IMPERSONATE_BANNER_POSITION', 'top'),
],
];