-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a386ac
commit c8670e7
Showing
6 changed files
with
218 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<?php | ||
|
||
return [ | ||
/** | ||
/* | ||
* To inject the 'nova-impersonate::reverse' view in every route when impersonating | ||
*/ | ||
'enable_middleware' => true, | ||
/** | ||
/* | ||
* false (nova path), true or <url> | ||
*/ | ||
'redirect_back' => true, | ||
/** | ||
/* | ||
* Redirect path | ||
*/ | ||
'redirect_to' => '/', | ||
/** | ||
/* | ||
* Set true to record impersonation actions in Nova's action_events table | ||
* Attach the `Laravel\Nova\Actions\Actionable` trait to the `User` Eloquent model | ||
*/ | ||
'actionable' => env('NOVA_IMPERSONATE_ACTIONABLE', false), | ||
/** | ||
/* | ||
* Bind on key press to impersonate user in details page | ||
*/ | ||
'key_down' => 'i', | ||
/** | ||
/* | ||
* Middleware used for nova-impersonate routes | ||
*/ | ||
'middleware' => [ | ||
/** | ||
/* | ||
* Middleware used for nova-impersonate routes | ||
*/ | ||
'base' => 'web', | ||
/** | ||
/* | ||
* Extra middleware used for leave route | ||
*/ | ||
'leave' => 'auth', | ||
], | ||
/** | ||
* Leave impersonate before impersonating a user | ||
*/ | ||
'leave_before_impersonate' => false, | ||
/* | ||
* Leave impersonate before impersonating a user | ||
*/ | ||
'leave_before_impersonate' => false, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.