django-mfa3

multi factor authentication for django
git clone https://git.ce9e.org/django-mfa3.git

commit
ee12d1a44a776fa350c7eb243ed969523668edcc
parent
ed114c75e37f5a89830b0fc150f907b586b8e839
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-06-18 17:06
style: rename decorator argument to view_func

Diffstat

M mfa/decorators.py 6 +++---

1 files changed, 3 insertions, 3 deletions


diff --git a/mfa/decorators.py b/mfa/decorators.py

@@ -1,3 +1,3 @@
    1    -1 def public(fn):
    2    -1     fn.mfa_public = True
    3    -1     return fn
   -1     1 def public(view_func):
   -1     2     view_func.mfa_public = True
   -1     3     return view_func