summaryrefslogtreecommitdiff
path: root/src/leap/base/auth.py
diff options
context:
space:
mode:
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)