From 6d73e628d47c65792a89c2cf2d4b9bf9b34901e0 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 4 Sep 2015 02:18:51 -0400 Subject: smtp certs [WIP] --- src/leap/bonafide/_decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/bonafide/_decorators.py') diff --git a/src/leap/bonafide/_decorators.py b/src/leap/bonafide/_decorators.py index cfd6ec0..6b43715 100644 --- a/src/leap/bonafide/_decorators.py +++ b/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. -- cgit v1.2.3