Skip to content

Commit

Permalink
use only needed user data for locking resource
Browse files Browse the repository at this point in the history
  • Loading branch information
aheinze committed Apr 15, 2019
1 parent 917a285 commit d0c8c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Cockpit/Helper/Admin.php
Expand Up @@ -181,7 +181,7 @@ public function lockResourceId($resourceId, $user = null) {
$user = $user ?? $this->app->module('cockpit')->getUser();

$meta = [
'user' => $user,
'user' => ['_id' => $user['_id'], 'name' => $user['name'], 'user' => $user['user']],
'time' => time()
];

Expand Down

0 comments on commit d0c8c77

Please sign in to comment.