diff options
Diffstat (limited to 'bonafide/src/leap/bonafide/_decorators.py')
-rw-r--r-- | bonafide/src/leap/bonafide/_decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bonafide/src/leap/bonafide/_decorators.py b/bonafide/src/leap/bonafide/_decorators.py index cfd6ec0..6b43715 100644 --- a/bonafide/src/leap/bonafide/_decorators.py +++ b/bonafide/src/leap/bonafide/_decorators.py @@ -19,7 +19,7 @@ Decorators used in bonafide. """ -def needs_authentication(func): +def auth_required(func): """ Decorate a method so that it will not be called if the instance attribute `is_authenticated` does not evaluate to True. |