mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
token permission config + fix getLogFile()
This commit is contained in:
+1
-2
@@ -1128,8 +1128,7 @@ JS;
|
||||
//end seed box
|
||||
|
||||
//token start
|
||||
$tokenRep = new \App\Repositories\TokenRepository();
|
||||
$permissions = $tokenRep->listUserTokenPermissions();
|
||||
$permissions = \App\Repositories\TokenRepository::listUserTokenPermissions();
|
||||
$permissionOptions = [];
|
||||
foreach ($permissions as $name => $label) {
|
||||
$permissionOptions[] = sprintf('<label><input type="checkbox" name="permissions[]" value="%s">%s</label>', $name, $label);
|
||||
|
||||
Reference in New Issue
Block a user