http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8753 --- Comment #125 from Charles Farmer <charles.farmer@inlibro.com> --- Created attachment 43017 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43017&action=edit Bug 8753 - Smartmatch substitute, Math::Random::Secure, Perltidy, Passwordrecovery.t This is a collection of changes taken from different comments (but mostly comment 21 and comment 122). Passes qa and prove, on my machine at least. There's also a new test file, Passwordrecovery.t, which covers every method of C4::Passwordrecovery. To test: All normal checks plus : 1/ Receive the email 2/ Click on the link 3/ Change the pwd 4/ Click again on the link 5/ You should immediately get an error message -- You are receiving this mail because: You are watching all bug changes.