Fix pint issues

This commit is contained in:
Bubka
2025-06-18 09:02:23 +02:00
parent afaaa08897
commit 243a44d516
80 changed files with 154 additions and 169 deletions

View File

@ -21,7 +21,7 @@ class WebAuthnManageController extends Controller
if (Gate::denies('manage-webauthn-credentials')) {
throw new AccessDeniedHttpException(__('errors.unsupported_with_sso_only'));
}
$allUserCredentials = $request->user()->webAuthnCredentials()->WhereEnabled()->get();
return response()->json($allUserCredentials, 200);
@ -52,7 +52,7 @@ class WebAuthnManageController extends Controller
public function delete(Request $request, $credential)
{
Log::info('Deletion of security device requested');
if (Gate::denies('manage-webauthn-credentials')) {
throw new AccessDeniedHttpException(__('errors.unsupported_with_sso_only'));
}