fix:修复Linux DO授权登录不显示默认密码弹窗

This commit is contained in:
xiamuceer
2025-12-30 10:03:20 +08:00
parent 3b97e88128
commit 05c2981716
3 changed files with 94 additions and 18 deletions
+3
View File
@@ -148,6 +148,9 @@ export const authApi = {
setPassword: (password: string) =>
api.post<unknown, { success: boolean; message: string }>('/auth/password/set', { password }),
initializePassword: (password: string) =>
api.post<unknown, { success: boolean; message: string }>('/auth/password/initialize', { password }),
refreshSession: () => api.post<unknown, { message: string; expire_at: number; remaining_minutes: number }>('/auth/refresh'),
logout: () => api.post('/auth/logout'),