1.1 --- a/XSLForms/Resources/Login.py Sun Feb 17 19:22:28 2008 +0000
1.2 +++ b/XSLForms/Resources/Login.py Sat May 24 18:26:46 2008 +0000
1.3 @@ -103,7 +103,11 @@
1.4 password = logelem.getAttribute("password")
1.5
1.6 if self.authenticator.authenticate(trans, username, password):
1.7 - app = parameters.get("app", [""])[0]
1.8 +
1.9 + # Read the application's location from form parameters and any
1.10 + # fields in the URL.
1.11 +
1.12 + app = parameters.get("app", trans.get_fields_from_path().get("app", [""]))[0]
1.13
1.14 # Either redirect or switch to the success template.
1.15