aegir-patchs/hostmaster/http_basic_auth.drush.inc.patch
2024-03-22 14:25:30 +01:00

6 lines
198 B
Diff

49c49,50
< $pass = crypt($pass);
---
> $salt = substr(str_replace('+', '.', base64_encode(pack('N4', mt_rand(), mt_rand(), mt_rand(), mt_rand()))), 0, 22);
> $pass = crypt($pass,$salt);