[BUGFIX] PHP Runtime Notice in saltedpasswords 61/28261/2
authorXavier Perseguers <xavier@typo3.org>
Tue, 11 Mar 2014 15:23:11 +0000 (16:23 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 11 Mar 2014 16:26:55 +0000 (17:26 +0100)
Declaration of method compareUident() should be compatible with its
parent class.

Change-Id: I66979bd76b204bbb762c41037cdaae5f006debb5
Fixes: #56769
Releases: 6.2
Reviewed-on: https://review.typo3.org/28261
Reviewed-by: Andreas Fernandez
Tested-by: Andreas Fernandez
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php

index 8ca166d..117e567 100644 (file)
@@ -112,10 +112,11 @@ class SaltedPasswordService extends \TYPO3\CMS\Sv\AbstractAuthenticationService
         *
         * @param array $user User data array
         * @param array $loginData Login data array
+        * @param string $passwordCompareStrategy Password compare strategy
         * @return boolean TRUE if login data matched
         * @todo Define visibility
         */
-       public function compareUident(array $user, array $loginData) {
+       public function compareUident(array $user, array $loginData, $passwordCompareStrategy = '') {
                $validPasswd = FALSE;
                $password = $loginData['uident_text'];
                // Determine method used for given salted hashed password