Bug 29915: (QA follow-up) Add a comment in checkauth on $flags
This is quite a misleading call. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
3301f65025
commit
3eb3739c6b
|
|
@ -883,6 +883,7 @@ sub checkauth {
|
|||
}
|
||||
elsif ( $sessionID = $query->cookie("CGISESSID") ) { # assignment, not comparison
|
||||
my ( $return, $more_info );
|
||||
# NOTE: $flags in the following call is still undefined !
|
||||
( $return, $session, $more_info ) = check_cookie_auth( $sessionID, $flags,
|
||||
{ remote_addr => $ENV{REMOTE_ADDR}, skip_version_check => 1 }
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue