From: Vincent Zanotti Date: Sat, 26 Jul 2008 22:14:16 +0000 (+0200) Subject: Adds an anti-XSRF token to the initial login form to allow direct login to /admin... X-Git-Tag: xorg/0.10.0~156 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a726ed6ec6c81846c5122e592fe7ae6c21bb1b05;p=platal.git Adds an anti-XSRF token to the initial login form to allow direct login to /admin/user/ page (it expects an xsrf token for all POST requests). Signed-off-by: Vincent Zanotti --- diff --git a/templates/core/password_prompt.tpl b/templates/core/password_prompt.tpl index 4bc7bb4..f3be2ff 100644 --- a/templates/core/password_prompt.tpl +++ b/templates/core/password_prompt.tpl @@ -172,6 +172,7 @@ Si tu n'es pas {insert name="getName"}, change le login ci-dessous, ou rends-toi
+ {xsrf_token_field}