User tests: Successful: Unsuccessful:
Code review
PASSWORD_ARGON2ID
php native constant is only available from PHP 7.3.0 onwards whereas Joomla 4 has to support 7.2.5
PHP may also be compiled without argon support and therefore this constant would not be available.
Just like stated (repeatedly) in UserHelper
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-08-20 17:46:30 |
Closed_By | ⇒ | PhilETaylor | |
Labels |
Added:
?
|
You have to use
defined('BLABLA') ? BLABLA : FALLBACK_BLABLA
But I cannot say anything about PASSWORD_ARGON2ID and possible fallbacks
I see my stalker has returned.