From 7325cb724ecc82951aff95fc8946768229fcd738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Fern=C3=A1ndez?= Date: Sun, 9 Jun 2013 23:39:20 +0200 Subject: [PATCH] Fixed parsing error when hitting F5 on a login error page with expired session --- booking-mvc/src/main/webapp/WEB-INF/login.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/booking-mvc/src/main/webapp/WEB-INF/login.html b/booking-mvc/src/main/webapp/WEB-INF/login.html index e27a7ad..b1bf112 100644 --- a/booking-mvc/src/main/webapp/WEB-INF/login.html +++ b/booking-mvc/src/main/webapp/WEB-INF/login.html @@ -65,7 +65,9 @@
Your login attempt was not successful, try again.

- Reason: Invalid password + + Reason: Invalid password +
@@ -78,7 +80,7 @@
+ th:value="(${param.login_error} and ${session}) ? ${session[__${lastUsernameKey}__]} : ''" />