[Koha-bugs] [Bug 17494] Koha generating duplicate self registration tokens

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 10:15:43 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17494

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 56914
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56914&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list