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

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 1867-1873 sub checkpw { Link Here
1867
    if( $patron && $passwd_ok && C4::Context->preference('AuthSuccessLog') ) {
1867
    if( $patron && $passwd_ok && C4::Context->preference('AuthSuccessLog') ) {
1868
        logaction( 'AUTH', 'SUCCESS', $patron->id, "Valid password for $userid", $type );
1868
        logaction( 'AUTH', 'SUCCESS', $patron->id, "Valid password for $userid", $type );
1869
    } elsif( !$passwd_ok && C4::Context->preference('AuthFailureLog') ) {
1869
    } elsif( !$passwd_ok && C4::Context->preference('AuthFailureLog') ) {
1870
        logaction( 'AUTH', 'FAILURE', 0, "Wrong password for $userid", $type );
1870
        logaction( 'AUTH', 'FAILURE', $patron ? $patron->id : 0, "Wrong password for $userid", $type );
1871
    }
1871
    }
1872
1872
1873
    return @return;
1873
    return @return;
1874
- 

Return to bug 21190