1
0
Fork 0

Merge pull request #3455 from shleeable/staging-2

Update AdminController.php
This commit is contained in:
daniel 2022-05-15 21:37:48 -06:00 committed by GitHub
commit 732521e954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class AdminController extends Controller
public function appsHome(Request $request) public function appsHome(Request $request)
{ {
$filter = $request->input('filter'); $filter = $request->input('filter');
if(in_array($filter, ['revoked'])) { if($filter == 'revoked') {
$apps = OauthClient::with('user') $apps = OauthClient::with('user')
->whereNotNull('user_id') ->whereNotNull('user_id')
->whereRevoked(true) ->whereRevoked(true)