Ignore:
Timestamp:
07/08/15 15:06:48 (9 years ago)
Author:
nanardon
Message:

Add passwordLastSet, store the datetime when password has been changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/users/passwd.tt

    r1329 r1366  
    1919[%- END -%]: 
    2020</h2> 
     21 
     22 
     23[% lastset = user.get_attributes('passwordLastSet') %] 
     24[% IF lastset %] 
     25<p>Le mot a changé la derniÚre fois le [% lastset | html %](GMT)</p> 
     26[% ELSE %] 
     27<p>Aucun mot de passe n'a été mis pour ce compte</p> 
     28[% END %] 
    2129 
    2230[% IF c.model('Accounts').db.check_acl(user, 'userPassword', 'w') %] 
Note: See TracChangeset for help on using the changeset viewer.