diff --git a/public/include/pages/password/reset.inc.php b/public/include/pages/password/reset.inc.php index f7334fe8..86f91dd9 100644 --- a/public/include/pages/password/reset.inc.php +++ b/public/include/pages/password/reset.inc.php @@ -1,14 +1,13 @@ initResetPassword($_POST['username'], $smarty)) { $_SESSION['POPUP'][] = array('CONTENT' => 'Please check your mail account to finish your password reset'); } else { - $_SESSION['POPUP'][] = array('CONTENT' => $user->getError(), 'TYPE' => 'errormsg'); + $_SESSION['POPUP'][] = array('CONTENT' => htmlentities($user->getError(), ENT_QUOTES), 'TYPE' => 'errormsg'); } // Tempalte specifics, user default template by parent page diff --git a/public/templates/mobile/password/default.tpl b/public/templates/mobile/password/default.tpl index 69943979..b4af5660 100644 --- a/public/templates/mobile/password/default.tpl +++ b/public/templates/mobile/password/default.tpl @@ -2,5 +2,5 @@
If you have an email set for your account, enter your username to get your password reset
- + diff --git a/public/templates/mpos/account/invitations/default.tpl b/public/templates/mpos/account/invitations/default.tpl index 1ce19a04..e43b37d0 100644 --- a/public/templates/mpos/account/invitations/default.tpl +++ b/public/templates/mpos/account/invitations/default.tpl @@ -1,6 +1,6 @@