Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
#3835 Fix invalid CSRF token invalid message
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Oct 29, 2015
1 parent 50c91eb commit 2ed13d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/lib/HTML/QuickForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ function checkSecurityToken($submittedValues)
$error = true;
} else {
$error = array('centreon_token' => 'The Token is invalid');
echo "<div class='msg' align='center'>"._("The CSRF token is invalid")."</div>";
echo "<div class='msg' align='center'>" . _("An error occured. Please try to resubmit the form") . "</div>";
}

$this->purgeToken();
Expand Down

0 comments on commit 2ed13d7

Please sign in to comment.