From 2403a800c0eccae1b1ed1ca1de441bf28e6bac81 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Fri, 11 Aug 2017 12:56:59 +0530 Subject: [PATCH] Use absolute import for frappe.twofactor (#3915) --- frappe/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/auth.py b/frappe/auth.py index bd510b9fcd..b92e7e604d 100644 --- a/frappe/auth.py +++ b/frappe/auth.py @@ -17,7 +17,7 @@ from frappe.translate import get_lang_code from frappe.utils.password import check_password from frappe.core.doctype.authentication_log.authentication_log import add_authentication_log from frappe.utils.background_jobs import enqueue -from twofactor import (should_run_2fa, authenticate_for_2factor, +from frappe.twofactor import (should_run_2fa, authenticate_for_2factor, confirm_otp_token, get_cached_user_pass) from six.moves.urllib.parse import quote