]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Apr 2019 10:38:13 +0000 (11:38 +0100)
commit49d3cd6a7bcca45fbd5954ee49a4d13ba6224f22
tree8eac97bb39fa5ed0305765b6865ae37b42c1bea0
parentb875f2668d9605b90d7d2acb0ea8ec4da2f62fec
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>
(cherry picked from commit b794643bb075c0aa5de81f2481ae1df56f674309)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Token.pm
t/Token.t