Skip to content

Commit

Permalink
chapter4/section2/app_security.py add app.config['SECURITY_PASSWORD_H…
Browse files Browse the repository at this point in the history
…ASH']
  • Loading branch information
bagechashu authored and dongweiming committed Apr 25, 2019
1 parent 99777a1 commit 9604ec5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chapter4/section2/app_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
app = Flask(__name__, template_folder='../../templates')
app.config.from_object('config')
app.config['SECURITY_LOGIN_USER_TEMPLATE'] = 'chapter4/section2/login_user.html' # noqa
app.config['SECURITY_PASSWORD_SALT'] = 'salt'


db = SQLAlchemy(app)
Expand Down

0 comments on commit 9604ec5

Please sign in to comment.