feat: 登录后进入实时首页,并加密保存可刷新的登录凭证
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""本地只保存工号和加密后的密码。"""
|
||||
"""本地保存工号、加密密码和加密后的登录凭证。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -15,3 +15,4 @@ class Account(Base):
|
||||
|
||||
employee_id: Mapped[str] = mapped_column(String(32), primary_key=True)
|
||||
password_cipher: Mapped[str] = mapped_column(Text)
|
||||
credential_cipher: Mapped[str] = mapped_column(Text, default="")
|
||||
|
||||
Reference in New Issue
Block a user