feat(acl): login channel add ssh options (#396)

This commit is contained in:
pycook
2024-02-21 18:10:44 +08:00
committed by GitHub
parent 0f404fe9bf
commit 5b3fb7ee32
2 changed files with 2 additions and 1 deletions

View File

@@ -356,7 +356,7 @@ class AuditLoginLog(Model2):
__tablename__ = "acl_audit_login_logs"
username = db.Column(db.String(64), index=True)
channel = db.Column(db.Enum('web', 'api'), default="web")
channel = db.Column(db.Enum('web', 'api', 'ssh'), default="web")
ip = db.Column(db.String(15))
browser = db.Column(db.String(256))
description = db.Column(db.String(128))