I need to hook into a “legacy” Rails app which isn’t maintained anymore. Both the Python and Rails app will be going against the same database but that shouldn’t be a problem. Primarily I just need to know how to login / change passwords from the Python/Flask app.
Share
bcrypt is what Rails uses.
You can use flask-bcrypt to match it.
When you get your hands on the Rails app, see what version of Rails it uses and upgrade it.
As of Rails 3.1, you can use the SecurePassword module to easily generate passwords: https://github.com/rails/rails/blob/master/activemodel/lib/active_model/secure_password.rb