mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-14 15:58:36 +02:00
Fix pint issues
This commit is contained in:
@ -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'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user