You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in token_is_current?(token, client_id) method BCrypt::Password.new(token_hash) == token this piece of code returning false even though both contains the same output.
And when i am doing BCrypt::Password.new(token_hash).to_s == token its returning true which works fine for me. Guys please help.
The text was updated successfully, but these errors were encountered:
app/models/devise_token_auth/concerns/user.rb
in token_is_current?(token, client_id) method
BCrypt::Password.new(token_hash) == token
this piece of code returning false even though both contains the same output.And when i am doing
BCrypt::Password.new(token_hash).to_s == token
its returning true which works fine for me. Guys please help.The text was updated successfully, but these errors were encountered: