Bug 20370: Misleading comment for bcrypt - #encrypt it; Instead it should be #hash it
This patch changes the wording of the comment
To test:
1) Check the wording of Line 67 of Koha/AuthUtils.pm
2) Apply the patch
3) Check that the wording has changed from "Encrypt it" to "Hash it"
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 5576bf647d)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
064343336f
commit
02cccad3cf
|
|
@ -64,7 +64,7 @@ sub hash_password {
|
|||
# Set the cost to 8 and append a NULL
|
||||
$settings = '$2a$08$'.en_base64(generate_salt('weak', 16));
|
||||
}
|
||||
# Encrypt it
|
||||
# Hash it
|
||||
return bcrypt($password, $settings);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue