diff options
author | kali <kali@leap.se> | 2012-10-26 00:12:08 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-26 00:12:08 +0900 |
commit | 0590991d7777de473a7df21ed32e1fa7caa9cf4b (patch) | |
tree | bb9ec79ffb49920f6e2abeef1d105c8d47e9a75f /src/leap/eip | |
parent | a0fc20884a02ccffe1f9a83440b5e2212853289a (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.py | 5 |
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: |