[Koha-bugs] [Bug 17494] Koha generating duplicate self registration tokens
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 16:32:09 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17494
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #57204|0 |1
is obsolete| |
--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 57212
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57212&action=edit
Bug 17494: Make sure the same verification token won't be generated twice
Well, this patch does not enforce the unique constraint but mimic what
is already done in C4::ImportExportFramework and Koha::Upload where
md5_hex is used.
Test plan:
Have a look at the code and confirm that it adds more randomness to the
hashed string
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list