grape_devise_token_auth icon indicating copy to clipboard operation
grape_devise_token_auth copied to clipboard

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

Open alemata opened this issue 5 years ago • 2 comments

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 avatar Mar 11 '19 18:03 alemata

Hello @mcordell! Any update on this?

alemata avatar Mar 15 '19 14:03 alemata

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

mcordell avatar Mar 15 '19 14:03 mcordell