Kaynağa Gözat

Use absolute import for frappe.twofactor (#3915)

version-14
Aditya Hase 8 yıl önce
committed by Makarand Bauskar
ebeveyn
işleme
2403a800c0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      frappe/auth.py

+ 1
- 1
frappe/auth.py Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet