fix: harden login for MLPS requirements

This commit is contained in:
2026-05-14 11:05:20 +08:00
parent ecf3ee1ef0
commit 879677516f
39 changed files with 1230 additions and 71 deletions
+9 -1
View File
@@ -22,10 +22,18 @@ export interface AuthTokens {
export interface LoginRequest {
identifier: string
password: string
password?: string
encrypted_password?: string
password_key_id?: string
email?: string
}
export interface PasswordPublicKeyResponse {
key_id: string
algorithm: 'RSA-OAEP-256'
public_key: string
}
export interface UserInfo {
id: number
email: string | null