View | Details | Raw Unified | Return to bug 16492
Collapse All | Expand All

(-)a/C4/Auth.pm (-1 / +5 lines)
Lines 1737-1742 sub get_session { Link Here
1737
    return $session;
1737
    return $session;
1738
}
1738
}
1739
1739
1740
1741
# FIXME no_set_userenv may be replaced with force_branchcode_for_userenv
1742
# (or something similar)
1743
# Currently it's only passed from C4::SIP::ILS::Patron::check_password, but
1744
# not having a userenv defined could cause a crash.
1740
sub checkpw {
1745
sub checkpw {
1741
    my ( $dbh, $userid, $password, $query, $type, $no_set_userenv ) = @_;
1746
    my ( $dbh, $userid, $password, $query, $type, $no_set_userenv ) = @_;
1742
    $type = 'opac' unless $type;
1747
    $type = 'opac' unless $type;
1743
- 

Return to bug 16492