doorcontrol: Fix typo for AssignNfcCardView.permission_required
This commit is contained in:
parent
801017f316
commit
611dd6ea0b
@ -402,7 +402,7 @@ class AssignNfcCardStatus(BaseModel):
|
||||
class AssignNfcCardView(PermissionRequiredMixin, TemplateView):
|
||||
# for storage in request.session
|
||||
ENROLLMENT_STATUS_SESSION_KEY = "unifi_access_enrollment_status"
|
||||
requires_permission = "doorcontrol.assign_nfc_card"
|
||||
permission_required = "doorcontrol.assign_nfc_card"
|
||||
template_name = "doorcontrol/assign_nfc_card.dj.html"
|
||||
|
||||
def get_template_names(self) -> list[str]:
|
||||
|
Loading…
Reference in New Issue
Block a user