mcordell / grape_devise_token_auth

Grape compatibility for devise_token_auth + devise + rails setup
MIT License
41 stars 29 forks source link

No method error 'ignore_existing_warden_users' for Grape devise token auth #13

Open abhilashak opened 8 years ago

abhilashak commented 8 years ago

The documentation says " If you are having issues with users persisting across logins or you do not want to integrate with devise, you can disable the integration with devise during setup"

GrapeDeviseTokenAuth.setup! do |config| config.ignore_existing_warden_users = true end

But there is not such method exists.

config/initializers/grape_devise_token_auth.rb:10:inblock in <top (required)>': undefined method ignore_existing_warden_users=' for #<GrapeDeviseTokenAuth::Configuration:0x000000072731a0> (NoMethodError)