summaryrefslogtreecommitdiff
path: root/src/leap/base/auth.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-09 00:00:42 +0900
committerkali <kali@leap.se>2013-01-09 00:00:42 +0900
commitf82f81b6766905269d51e08632b42ed2e92c249b (patch)
treed37e64114f5de59791a3c659e909cc56e40ce9a0 /src/leap/base/auth.py
parente35eb606faef1ccd06201a0b38a462375426cedd (diff)
rename username var
Diffstat (limited to 'src/leap/base/auth.py')
-rw-r--r--src/leap/base/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/base/auth.py b/src/leap/base/auth.py
index ecc24179..563a0b2a 100644
--- a/src/leap/base/auth.py
+++ b/src/leap/base/auth.py
@@ -275,7 +275,7 @@ def srpauth_protected(user=None, passwd=None, server=None, verify=True):
def get_leap_credentials():
settings = QtCore.QSettings()
- full_username = settings.value('eip_username')
+ full_username = settings.value('username')
username, domain = full_username.split('@')
seed = settings.value('%s_seed' % domain, None)
password = leapkeyring.leap_get_password(full_username, seed=seed)