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

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 1875-1881 sub checkpw { Link Here
1875
    if( $patron && $passwd_ok && C4::Context->preference('AuthSuccessLog') ) {
1875
    if( $patron && $passwd_ok && C4::Context->preference('AuthSuccessLog') ) {
1876
        logaction( 'AUTH', 'SUCCESS', $patron->id, "Valid password for $userid", $type );
1876
        logaction( 'AUTH', 'SUCCESS', $patron->id, "Valid password for $userid", $type );
1877
    } elsif( !$passwd_ok && C4::Context->preference('AuthFailureLog') ) {
1877
    } elsif( !$passwd_ok && C4::Context->preference('AuthFailureLog') ) {
1878
        logaction( 'AUTH', 'FAILURE', 0, "Wrong password for $userid", $type );
1878
        logaction( 'AUTH', 'FAILURE', $patron ? $patron->id : 0, "Wrong password for $userid", $type );
1879
    }
1879
    }
1880
1880
1881
    return @return;
1881
    return @return;
1882
- 

Return to bug 21190