lib/ab_admin/models/user.rb in ab_admin-0.6.0 vs lib/ab_admin/models/user.rb in ab_admin-0.6.1
- old
+ new
@@ -30,10 +30,10 @@
def suspend!
update_attribute(:locked_at, Time.now.utc)
end
def activate!
- confirm! unless confirmed?
+ confirm unless confirmed?
unlock_access! if access_locked?
end
def active?
active_for_authentication?
\ No newline at end of file