Possible fix for #4734

This commit is contained in:
James Cole 2021-05-01 18:55:49 +02:00
parent 54d5f9a9c3
commit 5a7f933a5c
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -354,7 +354,7 @@ class ProfileController extends Controller
$user = auth()->user();
$isInternalAuth = $this->internalAuth;
$isInternalIdentity = $this->internalIdentity;
$count = DB::table('oauth_clients')->where('personal_access_client', 1)->whereNull('user_id')->count();
$count = DB::table('oauth_clients')->where('personal_access_client', true)->whereNull('user_id')->count();
$subTitle = $user->email;
$userId = $user->id;
$enabled2FA = null !== $user->mfa_secret;