Skip to content

Commit 1ee184b

Browse files
committed
MC-5580: Fatal Error during customer login
- fix static tests
1 parent 9e2efff commit 1ee184b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/internal/Magento/Framework/Encryption/Encryptor.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ public function validateHashVersion($hash, $validateCount = false)
228228
}
229229

230230
/**
231+
* Explode password hash
232+
*
231233
* @param string $hash
232234
* @return array
233235
*/
@@ -243,6 +245,8 @@ private function explodePasswordHash($hash)
243245
}
244246

245247
/**
248+
* Returns password hash
249+
*
246250
* @return string
247251
*/
248252
private function getPasswordHash()
@@ -251,6 +255,8 @@ private function getPasswordHash()
251255
}
252256

253257
/**
258+
* Returns password salt
259+
*
254260
* @return string
255261
*/
256262
private function getPasswordSalt()
@@ -259,11 +265,15 @@ private function getPasswordSalt()
259265
}
260266

261267
/**
268+
* Returns password version
269+
*
262270
* @return array
263271
*/
264272
private function getPasswordVersion()
265273
{
266-
return array_map('intval', explode(
274+
return array_map(
275+
'intval',
276+
explode(
267277
self::DELIMITER,
268278
(string)$this->passwordHashMap[self::PASSWORD_VERSION]
269279
)

0 commit comments

Comments
 (0)