mcordell / grape_devise_token_auth

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

Resource is updating `sign_in_count` when using `authenticate_` method #21

Open alemata opened 5 years ago

alemata commented 5 years ago

Hello @mcordell!

Could it be possible that it's updating the sign_in_count when calling to any authenticate_ method??

Screen Shot 2019-03-11 at 3 40 03 PM

alemata commented 5 years ago

Hello @mcordell! Any update on this?

mcordell commented 5 years ago

There isn't anything intentionally updating sign_in_count https://github.com/mcordell/grape_devise_token_auth/blob/c5b1ead8dbad1dc9fa2a2e7c9346f167e1d9fb1f/lib/grape_devise_token_auth/auth_helpers.rb#L10-L16