Lines 2062-2068
sub checkpw {
Link Here
|
2062 |
@return = (); |
2062 |
@return = (); |
2063 |
} elsif ($passwd_ok) { |
2063 |
} elsif ($passwd_ok) { |
2064 |
$patron->update( { login_attempts => 0 } ); |
2064 |
$patron->update( { login_attempts => 0 } ); |
2065 |
if ( $patron->borrowernumber eq $anonymous_patron ) { |
2065 |
if ( defined($anonymous_patron) && ($patron->borrowernumber == $anonymous_patron) ) { |
2066 |
@return = ( -3, $patron ); |
2066 |
@return = ( -3, $patron ); |
2067 |
} elsif ( $patron->password_expired ) { |
2067 |
} elsif ( $patron->password_expired ) { |
2068 |
@return = ( -2, $patron ); |
2068 |
@return = ( -2, $patron ); |
2069 |
- |
|
|