Skip to content

Commit c521e4e

Browse files
Update shkeeper/models.py
Co-authored-by: Copilot <[email protected]>
1 parent 24f2cb1 commit c521e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shkeeper/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class User(db.Model):
2323
username = db.Column(db.String(80), unique=True, nullable=False)
2424
passhash = db.Column(db.String(120))
2525
api_key = db.Column(db.String)
26-
totp_secret = db.Column(db.String(32)) # Base32 encoded TOTP secret
26+
totp_secret = db.Column(db.String(64)) # Base32 encoded TOTP secret
2727
totp_enabled = db.Column(db.Boolean, default=False)
2828
backup_codes = db.Column(db.Text) # JSON array of hashed backup codes
2929
totp_enabled_at = db.Column(db.DateTime)

0 commit comments

Comments
 (0)