projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show login target on the login screen
[cascardo/ipsilon.git]
/
ipsilon
/
login
/
common.py
diff --git
a/ipsilon/login/common.py
b/ipsilon/login/common.py
index
6231997
..
94284b0
100755
(executable)
--- a/
ipsilon/login/common.py
+++ b/
ipsilon/login/common.py
@@
-210,8
+210,10
@@
class LoginFormBase(LoginPageBase):
if username is None:
username = ''
if username is None:
username = ''
+ target = None
if self.trans is not None:
tid = self.trans.transaction_id
if self.trans is not None:
tid = self.trans.transaction_id
+ target = self.trans.retrieve().get('login_target')
if tid is None:
tid = ''
if tid is None:
tid = ''
@@
-224,6
+226,7
@@
class LoginFormBase(LoginPageBase):
"description": self.lm.help_text,
"next_url": next_url,
"username": username,
"description": self.lm.help_text,
"next_url": next_url,
"username": username,
+ "login_target": target,
}
context.update(kwargs)
if self.trans is not None:
}
context.update(kwargs)
if self.trans is not None: