changeset 268:f52ca91d1d27

Better warning message about `bcrypt`.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 25 Sep 2014 07:52:39 -0700
parents 5da3ff3305b8
children 294b2f23cba9
files wikked/bcryptfallback.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wikked/bcryptfallback.py	Thu Sep 25 07:52:21 2014 -0700
+++ b/wikked/bcryptfallback.py	Thu Sep 25 07:52:39 2014 -0700
@@ -7,6 +7,7 @@
 
 except ImportError:
     logger.warning("Bcrypt not available... falling back to SHA512.")
+    logger.warning("Run `pip install Flask-Bcrypt` for more secure password hashing.")
 
     import hashlib