[Koha-bugs] [Bug 33880] "Enable two-factor authentication" fails if patron's library branchname is too long
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 6 10:03:34 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33880
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151981|0 |1
is obsolete| |
--- Comment #9 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 152037
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152037&action=edit
Bug 33880: Remove Version param from GB::Barcode->new
Looking at the code here
if (Koha/Auth/TwoFactorAuth.pmoSelf->{Version}){ #--- auto version
select
for(->{Version}=1; ->{Version} <= 40; ++->{Version}) {
last if ({->{Ecc}}->[->{Version}]
>= + ->[->{Version}]);
}
}
in
https://metacpan.org/release/KWITKNR/GD-Barcode-1.15/source/Barcode/QRcode.pm#L349
It appears the version parameter is not required, and will default to whatever
version has the necessary bits for the input words given
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list