diff options
Diffstat (limited to 'ipsilon/login/common.py')
-rwxr-xr-x | ipsilon/login/common.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipsilon/login/common.py b/ipsilon/login/common.py index b394fa0..ce921c5 100755 --- a/ipsilon/login/common.py +++ b/ipsilon/login/common.py @@ -179,16 +179,18 @@ class LoginFormBase(LoginPageBase): cookie = SecureCookie(USERNAME_COOKIE) cookie.receive() username = cookie.value - if username is None: - username = '' target = None if self.trans is not None: tid = self.trans.transaction_id target = self.trans.retrieve().get('login_target') + username = self.trans.retrieve().get('login_username') if tid is None: tid = '' + if username is None: + username = '' + context = { "title": 'Login', "action": '%s/%s' % (self.basepath, self.formpage), |