app/models/casino/two_factor_authenticator.rb in casino-2.0.7 vs app/models/casino/two_factor_authenticator.rb in casino-3.0.0.pre.1
- old
+ new
@@ -1,8 +1,6 @@
class CASino::TwoFactorAuthenticator < ActiveRecord::Base
- attr_accessible :secret
-
belongs_to :user
def self.cleanup
self.delete_all(['(created_at < ?) AND active = ?', self.lifetime.ago, false])
end