From eabca5899663f56454fd3113656614085e191063 Mon Sep 17 00:00:00 2001 From: lian Date: Fri, 15 Jul 2016 18:03:27 +0800 Subject: [PATCH] update two factor auth code --- seahub/profile/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/profile/views.py b/seahub/profile/views.py index 6d473c4e5e..b90e2c20c2 100644 --- a/seahub/profile/views.py +++ b/seahub/profile/views.py @@ -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