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):
|
class AssignNfcCardView(PermissionRequiredMixin, TemplateView):
|
||||||
# for storage in request.session
|
# for storage in request.session
|
||||||
ENROLLMENT_STATUS_SESSION_KEY = "unifi_access_enrollment_status"
|
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"
|
template_name = "doorcontrol/assign_nfc_card.dj.html"
|
||||||
|
|
||||||
def get_template_names(self) -> list[str]:
|
def get_template_names(self) -> list[str]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user