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>
This commit is contained in:
parent
967c781259
commit
81c141d41a
|
|
@ -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