mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 03:47:09 +00:00
migrate two-factor
This commit is contained in:
@@ -699,7 +699,7 @@ def user_info(request, email):
|
||||
_default_device = False
|
||||
_has_two_factor_auth = has_two_factor_auth()
|
||||
if _has_two_factor_auth:
|
||||
from seahub_extra.two_factor.utils import default_device
|
||||
from seahub.two_factor.utils import default_device
|
||||
_user = User.objects.get(email=email)
|
||||
_default_device = default_device(_user)
|
||||
|
||||
|
Reference in New Issue
Block a user