Skip to content
Snippets Groups Projects
Commit 76dc084b authored by Markus Klein's avatar Markus Klein Committed by Steffen Gebert
Browse files

[BUGFIX] Reports: Wrong indication for saltedpasswords

The reports module shows a wrong status indication for saltedpasswords
if it is configured to forceSalted.

Change-Id: I7cb87cafb9867a45846ec8bb1e636000ffbaebbb
Fixes: #36093
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10522
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
parent fbc03dfa
No related merge requests found
......@@ -276,10 +276,12 @@ class tx_reports_reports_status_SecurityStatus implements tx_reports_StatusProvi
$severity = tx_reports_reports_status_Status::ERROR;
$messageDetail .= $flashMessage;
}
if (strpos($flashMessage, 'message-warning') !== FALSE ||
strpos($flashMessage, 'message-information') !== FALSE) {
if (strpos($flashMessage, 'message-warning') !== FALSE) {
$severity = tx_reports_reports_status_Status::WARNING;
$message .= $flashMessage;
$messageDetail .= $flashMessage;
}
if (strpos($flashMessage, 'message-information') !== FALSE) {
$messageDetail .= $flashMessage;
}
$unsecureUserCount = tx_saltedpasswords_div::getNumberOfBackendUsersWithInsecurePassword();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment