aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2019-09-30 14:42:16 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2019-09-30 14:42:16 +0200
commit5d11dedf6ae20c5f74eb7188b9fbca93830218ee (patch)
treeb3783016a37dd6ca668dedd2c2ce33bfe3eb5b33 /src/web/views
parentfixed wront definition of indexes (diff)
downloadnewspipe-5d11dedf6ae20c5f74eb7188b9fbca93830218ee.tar.gz
newspipe-5d11dedf6ae20c5f74eb7188b9fbca93830218ee.tar.bz2
newspipe-5d11dedf6ae20c5f74eb7188b9fbca93830218ee.zip
The import 'werkzeug.generate_password_hash' is deprecated.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/session_mgmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py
index 4026e558..0db76115 100644
--- a/src/web/views/session_mgmt.py
+++ b/src/web/views/session_mgmt.py
@@ -2,7 +2,7 @@ import json
import logging
from datetime import datetime
-from werkzeug import generate_password_hash
+from werkzeug.security import generate_password_hash
from werkzeug.exceptions import NotFound
from flask import (render_template, flash, session, request,
url_for, redirect, current_app)
bgstack15