maxcountryman / flask-bcrypt

Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Home Page:http://readthedocs.org/docs/flask-bcrypt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bcrypt_init doesn't set BCRYPT_LOG_ROUNDS

jeverling opened this issue · comments

Hi,

bcrypt_init sets _log_rounds to app.config['BCRYPT_LOG_ROUNDS'], but only for the local context of bcrypt_init.
generate_password_hash uses the default value of 12 again.

Best Regards,

Jesaja Everling

Thanks!

Fixed as of: d37d521