fix login form: setting camefrom in request
This commit is contained in:
parent
2598e375bf
commit
0c4eb97cd8
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
tal:define="principal request/principal/id;
|
tal:define="principal request/principal/id;
|
||||||
baseUrl python:request.URL[-1];
|
baseUrl python:request.URL[-1];
|
||||||
camefrom python:request.get('camefrom') or baseUrl;
|
camefrom python:request.get('camefrom') or baseUrl;
|
||||||
dummy python:request.form.setdefault('camefrom', baseUrl);
|
dummy python:request.form.setdefault('camefrom', camefrom);
|
||||||
dummy item/checkAuth">
|
dummy item/checkAuth">
|
||||||
<p style="color: Red"
|
<p style="color: Red"
|
||||||
tal:condition="request/error_message|nothing"
|
tal:condition="request/error_message|nothing"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue