Lines 126-132
sub get_password_expiry_date {
Link Here
|
126 |
my ($self, $date ) = @_; |
126 |
my ($self, $date ) = @_; |
127 |
if ( $self->password_expiry_days ) { |
127 |
if ( $self->password_expiry_days ) { |
128 |
$date ||= dt_from_string; |
128 |
$date ||= dt_from_string; |
129 |
$date = dt_from_string( $date ) unless ref $date; |
129 |
$date = ref $date ? $date->clone() : dt_from_string( $date ); |
130 |
return $date->add( days => $self->password_expiry_days )->ymd; |
130 |
return $date->add( days => $self->password_expiry_days )->ymd; |
131 |
} else { |
131 |
} else { |
132 |
return; |
132 |
return; |
133 |
- |
|
|