mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-19 18:00:03 +00:00
update two factor auth code
This commit is contained in:
@@ -87,7 +87,7 @@ def edit_profile(request):
|
||||
'two_factor_auth_enabled': has_two_factor_auth(),
|
||||
}
|
||||
|
||||
if has_two_factor_auth:
|
||||
if has_two_factor_auth():
|
||||
from seahub_extra.two_factor.models import StaticDevice
|
||||
from seahub_extra.two_factor.utils import default_device
|
||||
|
||||
|
Reference in New Issue
Block a user