From 4e1941fedbe46bafce9aded3a0a38d272fec37a2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 4 Nov 2014 11:11:09 +0800 Subject: Bug 1090427: Backport bug 713926 to bmo/4.2 to protect against csrf for login forms --- template/en/default/account/auth/login-small.html.tmpl | 4 +++- template/en/default/account/auth/login.html.tmpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/account/auth') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 220eb5f21..111aca0dd 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -72,7 +72,9 @@ [%+ "checked" IF Param('rememberlogin') == "defaulton" %]> [% END %] - + [x] diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index 0aac403a5..4501a3962 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -83,8 +83,10 @@ [% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password|restrictlogin)$" %] + - +

(Note: you should make sure cookies are enabled for this site. Otherwise, you will be required to log in frequently.) -- cgit v1.2.3-24-g4f1b