diff options
author | Daniel Vinakovsky <dvinak@gmail.com> | 2016-01-18 15:26:07 -0500 |
---|---|---|
committer | Daniel Vinakovsky <dvinak@gmail.com> | 2016-01-18 15:26:07 -0500 |
commit | 4d4e9a113c7f1d77e370bd06a93207a48af6f814 (patch) | |
tree | d89804339d9bd62b85e227f3bca423e34430d3b8 /src/etc | |
parent | 33386b07762fd1aad1b069f3b84ef4e243db53f3 (diff) | |
download | pfsense-4d4e9a113c7f1d77e370bd06a93207a48af6f814.zip pfsense-4d4e9a113c7f1d77e370bd06a93207a48af6f814.tar.gz |
add note about r284483
Diffstat (limited to 'src/etc')
-rwxr-xr-x | src/etc/inc/auth.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 5b705a8..28dc9f2 100755 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -612,10 +612,10 @@ function local_user_set_password(&$user, $password) { unset($user['md5-hash']); $user['bcrypt-hash'] = password_hash($password, PASSWORD_BCRYPT); - // Maintain compatibility with FreeBSD - // https://reviews.freebsd.org/D2742 - // change $2y$ prefix to $2b$ - + /* Maintain compatibility with FreeBSD - change $2y$ prefix to $2b$ + * https://reviews.freebsd.org/D2742 + * Can be removed as soon as r284483 is MFC'd. + */ if ($user['bcrypt-hash'][2] == "y") { $user['bcrypt-hash'][2] = "b"; } |