diff piecrust/admin/bcryptfallback.py @ 783:a9f4a6e60b0b

admin: Fix various crashes caused by incorrect Blueprint setup.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 28 Aug 2016 20:48:05 -0700
parents 5e91bc0e3b4d
children 0d699f04968c
line wrap: on
line diff
--- a/piecrust/admin/bcryptfallback.py	Thu Aug 11 22:37:38 2016 -0700
+++ b/piecrust/admin/bcryptfallback.py	Sun Aug 28 20:48:05 2016 -0700
@@ -38,7 +38,7 @@
             self.check_password_hash = check_password_hash
 
         def init_app(self, app):
-            pass
+            app.bcrypt = self
 
     Bcrypt = SHA512Fallback