Just remove LockedOn during password-modify

tags/smeserver-expire-accounts-0.1.7-1
Daniel Berteaud 9 years ago
parent 65bed6e62b
commit 96c954c9ab
  1. 4
      root/etc/e-smith/events/actions/user-reset-expired

@ -18,7 +18,3 @@ if (!$user){
my $rec = $a->get($user) || die "user $user not found in AccountsDB\n";
$rec->del_prop('ExpireLockedOn');
$rec->del_prop('ExpireAutoReply');
unlink glob (getpwnam($userName)->dir . "/.lock-auto-reply/*" )
if -d getpwnam($userName)->dir . "/.lock-auto-reply/";

Loading…
Cancel
Save