Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCrypt::Errors::InvalidSalt errors #103

Closed
furkanayhan opened this issue Jan 5, 2015 · 5 comments
Closed

BCrypt::Errors::InvalidSalt errors #103

furkanayhan opened this issue Jan 5, 2015 · 5 comments

Comments

@furkanayhan
Copy link

  • When I try to create a user by sending a POST request to http://localhost:3000/auth url.
    with email, password and password_confirmation parameters.
    • I get this: BCrypt::Errors::InvalidSalt in DeviseTokenAuth::RegistrationsController#create
    • However user is created.
  • When I try to sign in by sending a POST request to http://localhost:3000/auth/sign_in url.
    with email and password parameters.
    • Again, I get this: BCrypt::Errors::InvalidSalt in DeviseTokenAuth::SessionsController#create

Ruby version: 2.2.0
Rails version: 4.2.0
devise_token_auth version: master branch of this git repo

@furkanayhan furkanayhan changed the title BCrypt::Errors::InvalidSalt in DeviseTokenAuth::RegistrationsController#create BCrypt::Errors::InvalidSalt errors Jan 5, 2015
@lynndylanhurley
Copy link
Owner

Master is in the middle of a big update, and I'm sure there are several issues.

You can try using version 0.1.30, but there may be issues there with Rails 4.2. I'm in the middle of upgrading, should be ready in the next day or so.

@furkanayhan
Copy link
Author

Yes there are some issues with Rails 4.2 and 0.1.30, so I decided to use master repo.

I have tried to fix this issue, but I could not.
Thank you, I will wait for new upgrades.

@lynndylanhurley
Copy link
Owner

Please check out version 0.1.31.beta6 and let me know if this has been resolved.

@furkanayhan
Copy link
Author

It has been resolved. Thank you.
I guess I can close this issue now.

@lynndylanhurley
Copy link
Owner

Awesome, thanks @furkanayhan 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants