mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-05 13:16:56 -05:00
Update files for 6.0.0-alpha.1
This commit is contained in:
508 files changed
+2186
-1904
No files matched your search
@@ -194,7 +194,7 @@ class UserController extends Controller
|
||||
$data = $request->getAll();
|
||||
|
||||
// can only update 'blocked' when user is admin.
|
||||
if(!$this->repository->hasRole(auth()->user(), 'owner')) {
|
||||
if (!$this->repository->hasRole(auth()->user(), 'owner')) {
|
||||
Log::debug('Quietly drop fields "blocked" and "blocked_code" from request.');
|
||||
unset($data['blocked'], $data['blocked_code']);
|
||||
}
|
||||
|
||||
@@ -146,6 +146,5 @@ class ShowController extends Controller
|
||||
// trigger event to send them:
|
||||
event(new RequestedSendWebhookMessages());
|
||||
return response()->json([], 204);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user