diff --git a/hiboo/account/settings.py b/hiboo/account/settings.py
index 2b3f32d6fe89e384760177c41daf7c3246baac7e..3b6383827a5f46d9ca4056300b5ae3d81d3e71a6 100644
--- a/hiboo/account/settings.py
+++ b/hiboo/account/settings.py
@@ -50,7 +50,7 @@ def totp():
 def totp_enable():
     user = flask_login.current_user
     if models.Auth.TOTP not in user.auths:
-        auth = models.Auth(models.Auth.TOTP, enable=False)
+        auth = models.Auth(models.Auth.TOTP, enabled=False)
         auth.set_otp_key()
         user.auths[models.Auth.TOTP] = auth
         models.db.session.add(auth)