##// END OF EJS Templates
Test broken by r14265 (#19458)....
Jean-Philippe Lang -
r13884:738ecf13654c
parent child
Show More
@@ -325,7 +325,8 class User < Principal
325 325
326 326 # Returns true if the user password has expired
327 327 def password_expired?
328 if Setting.password_max_age.to_i.zero?
328 period = Setting.password_max_age.to_i
329 if period.zero?
329 330 false
330 331 else
331 332 changed_on = self.passwd_changed_on || Time.at(0)
General Comments 0
You need to be logged in to leave comments. Login now