summaryrefslogtreecommitdiffstats
path: root/ipsilon/login/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipsilon/login/common.py')
-rwxr-xr-xipsilon/login/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipsilon/login/common.py b/ipsilon/login/common.py
index 6231997..94284b0 100755
--- a/ipsilon/login/common.py
+++ b/ipsilon/login/common.py
@@ -210,8 +210,10 @@ class LoginFormBase(LoginPageBase):
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')
if tid is None:
tid = ''
@@ -224,6 +226,7 @@ class LoginFormBase(LoginPageBase):
"description": self.lm.help_text,
"next_url": next_url,
"username": username,
+ "login_target": target,
}
context.update(kwargs)
if self.trans is not None: