diff options
author | Pjotr Prins | 2018-03-30 08:25:17 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-03-30 08:25:17 +0000 |
commit | 6ef1f4c04d479d45aa3121979b23de784ad8f0d6 (patch) | |
tree | f2fd2a9920d3c9577ccd7b58fd28823157b41492 /wqflask | |
parent | c4d3f406fb01f81b2b952a622f2f7bb0967c8c91 (diff) | |
download | genenetwork2-6ef1f4c04d479d45aa3121979b23de784ad8f0d6.tar.gz |
Fixes forgotten password error, see #257
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/user_manager.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/wqflask/user_manager.py b/wqflask/wqflask/user_manager.py index c55649f3..755d64da 100644 --- a/wqflask/wqflask/user_manager.py +++ b/wqflask/wqflask/user_manager.py @@ -55,7 +55,7 @@ logger = getLogger(__name__) from base.data_set import create_datasets_list import requests -from utility.elasticsearch_tools import get_elasticsearch_connection, get_user_by_unique_column, save_user +from utility.elasticsearch_tools import es, get_elasticsearch_connection, get_user_by_unique_column, save_user THREE_DAYS = 60 * 60 * 24 * 3 #THREE_DAYS = 45 @@ -466,7 +466,6 @@ def password_reset(): @app.route("/n/password_reset_step2", methods=('POST',)) def password_reset_step2(): - from utility.elasticsearch_tools import es logger.debug("in password_reset request.url is:", request.url) errors = [] |