Call the new user-update-expire-settings when modifying a user

This commit is contained in:
Daniel Berteaud 2016-02-03 17:42:19 +01:00
parent bda920ba81
commit 6bc74c8741
1 changed files with 3 additions and 0 deletions

View File

@ -259,6 +259,9 @@ sub modify_user {
}
}
$acct->merge_props(%new_props);
unless(system('/sbin/e-smith/signal-event', 'user-update-expire-settings', $acctName) == 0){
return $self->error('ERROR_OCCURRED');
}
$self->success('USER_MODIFIED');
}