[BUGFIX] Reports: Wrong indication for saltedpasswords
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / reports / status / class.tx_reports_reports_status_securitystatus.php
index f2e0761..0af5dfe 100644 (file)
@@ -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();