mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-02-05 06:05:18 -05:00
feat: Implement passkey authentication, account management features, and a dedicated MFA login verification flow.
This commit is contained in:
@@ -7,7 +7,7 @@ entity completeness, and system health.
|
||||
|
||||
from drf_spectacular.utils import extend_schema
|
||||
from rest_framework import status
|
||||
from rest_framework.permissions import IsAdminUser
|
||||
from apps.core.permissions import IsAdminWithSecondFactor
|
||||
from rest_framework.response import Response
|
||||
from rest_framework.views import APIView
|
||||
|
||||
@@ -89,7 +89,7 @@ class DataCompletenessAPIView(APIView):
|
||||
companies, and ride models.
|
||||
"""
|
||||
|
||||
permission_classes = [IsAdminUser]
|
||||
permission_classes = [IsAdminWithSecondFactor]
|
||||
|
||||
@extend_schema(
|
||||
tags=["Admin"],
|
||||
|
||||
Reference in New Issue
Block a user