Bug 21998: Add pattern parameter in Koha::Token
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 19 Sep 2018 13:36:36 +0000 (15:36 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Mar 2019 20:21:43 +0000 (20:21 +0000)
commitb794643bb075c0aa5de81f2481ae1df56f674309
tree257686abf45e7b4097069fa84df56655126d9f3d
parentf8c20ac4c91f22017093a2d8ed0dbb8b0a3738bc
Bug 21998: Add pattern parameter in Koha::Token

Allow a pattern too in Koha::Token->generate. Only supported length.
Does not affect CSRF calls. So tiny change without further impact.

Test plan:
Run  t/Token.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Token.pm
t/Token.t