瀏覽代碼

Use absolute import for frappe.twofactor (#3915)

version-14
Aditya Hase 8 年之前
committed by Makarand Bauskar
父節點
當前提交
2403a800c0
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/auth.py

+ 1
- 1
frappe/auth.py 查看文件

@@ -17,7 +17,7 @@ from frappe.translate import get_lang_code
from frappe.utils.password import check_password from frappe.utils.password import check_password
from frappe.core.doctype.authentication_log.authentication_log import add_authentication_log from frappe.core.doctype.authentication_log.authentication_log import add_authentication_log
from frappe.utils.background_jobs import enqueue 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) confirm_otp_token, get_cached_user_pass)


from six.moves.urllib.parse import quote from six.moves.urllib.parse import quote


Loading…
取消
儲存