Fix trailing whitespace

This commit is contained in:
Javi Martín
2019-06-18 01:58:23 +02:00
parent cf9e36c767
commit 347fc21cf0
7 changed files with 10 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ module Devise
module PasswordExpirable
def need_change_password?
self.administrator? && password_expired?
end
end
def password_expired?
self.password_changed_at < self.expire_password_after.ago