Skip to content

v1.0.0

Compare
Choose a tag to compare
@baschtl baschtl released this 03 Jun 20:12
· 8 commits to master since this release

Changes the name for enabling HTTP Auth for the token strategy to adhere to the devise convention:

# initializers/devise.rb
Devise.setup do |config|
  # Before version 1.0.0
  config.http_authenticatable = [:token_options]
  # From version 1.0.0
  config.http_authenticatable = [:token]
end

Thanks @kassi!