1
0
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:
lian
2016-07-15 18:03:27 +08:00
parent 3af253401d
commit eabca58996

View File

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