Changeset 2029


Ignore:
Timestamp:
05/09/17 15:18:22 (7 years ago)
Author:
nanardon
Message:

Security: check alwo current employment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Delexpiredusers.pm

    r1958 r2029  
    304304        )) { 
    305305        my $ouser = $self->{_base}->get_object('user', $user) or next; 
    306         if ($ouser->get_attributes('nextEmployment')) { 
     306        if ($ouser->get_attributes('currentEmployment') || $ouser->get_attributes('nextEmployment')) { 
    307307            # This user has expire account but a futur employement is coming 
    308308            next; 
Note: See TracChangeset for help on using the changeset viewer.