Description
Preconditions (*)
- Magento 2.3 beta 32
- PHP 7.1
- Maria Db 11
Steps to reproduce (*)
- Create user at admin area (without password)
- User try to login at frontend
Expected result (*)
- Succesful login or option to create password for first time user
Actual result (*)
- User cannot login and gets blank page
- Server logs shows error and PLAIN USER PASSWORD that he tried to use (very wrong idea)
2018-11-04 10:35:27.611759 [NOTICE] [172.68.51.106:27986] [STDERR] PHP Fatal error: Uncaught TypeError: explode() expects parameter 2 to be string, null given in /vendor/magento/framework/Encryption/Encryptor.php:236
Stack trace:
#0 /vendor/magento/framework/Encryption/Encryptor.php(236): explode(':', NULL, 3)
#1 /vendor/magento/framework/Encryption/Encryptor.php(205): Magento\Framework\Encryption\Encryptor->explodePasswordHash(NULL)
#2 /vendor/magento/framework/Encryption/Encryptor.php(197): Magento\Framework\Encryption\Encryptor->isValidHash('PLAIN PASSWORD HERE', NULL)
#3 /vendor/magento/module-customer/Model/Authentication.php(170): Magento\Framework\Encryption\Encryptor->validateHash('PLAIN PASSWORD HERE', NULL)
#4 /vendor/magento/module-customer/Model/AccountManagement.php(543): Magento\Customer\Model\Authentication->authenticate('2', 'PLAIN PASSWORD HERE in /vendor/magento/framework/Encryption/Encryptor.php on line 236