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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical
            Version|16.11                       |unspecified
                 CC|                            |[email protected],
                   |                            |martin.renvoize@ptfs-europe
                   |                            |.com, [email protected]

--- Comment #7 from Jonathan Druart <[email protected]> 
---
I had more or less the same fix, but it was:

  $userid ||= $q_userid if $return == 2;

It makes thing safer I *think* because it will only affect behaviours for DB
user ($return == 2).
On the other hand if does not really make sense because if $return == 2,
$userid should not be set.
So maybe just
  $userid ||= $q_userid;
Could be enough.
And especially it will not erase $userid if one of the checkpw calls return a
userid different than the one we passed (possible??).

Martin? Tomas? Kyle?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to