summaryrefslogtreecommitdiff
path: root/src/leap/eip
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-26 00:12:08 +0900
committerkali <kali@leap.se>2012-10-26 00:12:08 +0900
commit0590991d7777de473a7df21ed32e1fa7caa9cf4b (patch)
treebb9ec79ffb49920f6e2abeef1d105c8d47e9a75f /src/leap/eip
parenta0fc20884a02ccffe1f9a83440b5e2212853289a (diff)
user credentials saved on login/signup branches.
cert request is using magick decorator that retrieves the certificates using srp.
Diffstat (limited to 'src/leap/eip')
-rw-r--r--src/leap/eip/checks.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/eip/checks.py b/src/leap/eip/checks.py
index cd9d9972..ae3634bc 100644
--- a/src/leap/eip/checks.py
+++ b/src/leap/eip/checks.py
@@ -11,7 +11,7 @@ import requests
from leap import __branding as BRANDING
from leap import certs as leapcerts
-from leap.base.auth import srpauth_protected
+from leap.base.auth import srpauth_protected, magick_srpauth
from leap.base import config as baseconfig
from leap.base import constants as baseconstants
from leap.base import providers
@@ -217,8 +217,7 @@ class ProviderCertChecker(object):
return fgetfn(*args, **kwargs)
else:
- # XXX use magic_srpauth decorator instead,
- # merge with the branch above
+ @magick_srpauth
def getfn(*args, **kwargs):
return fgetfn(*args, **kwargs)
try: