Source

iredapd / plugins / ldap_expired_password.py

Diff from to

File plugins/ldap_expired_password.py

 # Force mail user to change password in how many days. Default is 90.
 EXPIRED_DAYS = 90
 
+
 def restriction(**kwargs):
     sender_ldif = kwargs['sender_ldif']
 
         return 'REJECT Password expired, please change your password before sending email.'
 
     return SMTP_ACTIONS['default']
-