We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f2cb1 commit c521e4eCopy full SHA for c521e4e
shkeeper/models.py
@@ -23,7 +23,7 @@ class User(db.Model):
23
username = db.Column(db.String(80), unique=True, nullable=False)
24
passhash = db.Column(db.String(120))
25
api_key = db.Column(db.String)
26
- totp_secret = db.Column(db.String(32)) # Base32 encoded TOTP secret
+ totp_secret = db.Column(db.String(64)) # Base32 encoded TOTP secret
27
totp_enabled = db.Column(db.Boolean, default=False)
28
backup_codes = db.Column(db.Text) # JSON array of hashed backup codes
29
totp_enabled_at = db.Column(db.DateTime)
0 commit comments