From 5ea128eca075c19880419c072be36fd761aad4a4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 10 Oct 2014 20:11:59 +0200 Subject: Show login target on the login screen Signed-off-by: Patrick Uiterwijk Reviewed-by: Simo Sorce --- ipsilon/login/common.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipsilon/login/common.py') 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: -- cgit