|
Lines 251-256
sub effective_force_password_reset_when_set_by_staff {
Link Here
|
| 251 |
return $self->force_password_reset_when_set_by_staff // C4::Context->preference('ForcePasswordResetWhenSetByStaff'); |
251 |
return $self->force_password_reset_when_set_by_staff // C4::Context->preference('ForcePasswordResetWhenSetByStaff'); |
| 252 |
} |
252 |
} |
| 253 |
|
253 |
|
|
|
254 |
=head3 effective_password_history_count |
| 255 |
|
| 256 |
$category->effective_password_history_count() |
| 257 |
|
| 258 |
Returns the number of previous passwords to check against when changing password. |
| 259 |
If set in $self->password_history_count or, if undef, falls back to the PasswordHistoryCount |
| 260 |
system preference. |
| 261 |
|
| 262 |
=cut |
| 263 |
|
| 264 |
sub effective_password_history_count { |
| 265 |
my ($self) = @_; |
| 266 |
return $self->password_history_count // C4::Context->preference('PasswordHistoryCount'); |
| 267 |
} |
| 268 |
|
| 254 |
=head3 override_hidden_items |
269 |
=head3 override_hidden_items |
| 255 |
|
270 |
|
| 256 |
if ( $patron->category->override_hidden_items ) { |
271 |
if ( $patron->category->override_hidden_items ) { |
| 257 |
- |
|
|