lib/devise.rb in devise-3.0.0 vs lib/devise.rb in devise-3.0.1

- old
+ new

@@ -221,9 +221,13 @@ # Set the omniauth path prefix so it can be overriden when # Devise is used in a mountable engine mattr_accessor :omniauth_path_prefix @@omniauth_path_prefix = nil + # Set if we should clean up the CSRF Token on authentication + mattr_accessor :clean_up_csrf_token_on_authentication + @@clean_up_csrf_token_on_authentication = true + def self.encryptor=(value) warn "\n[DEVISE] To select a encryption which isn't bcrypt, you should use devise-encryptable gem.\n" end def self.use_salt_as_remember_token=(value)