安全加固

This commit is contained in:
ryan
2026-06-08 19:50:33 +08:00
parent 0f65202659
commit d99bd5231a
8 changed files with 155 additions and 2 deletions
+1 -1
View File
@@ -129,6 +129,6 @@ export class AuthService extends BaseService {
}
static async deleteExternalAccountBinding(id: string): Promise<void> {
return this.delete<void>(`/oauth/external-accounts/${encodeURIComponent(id)}/delete`);
return this.post<void>(`/oauth/external-accounts/${encodeURIComponent(id)}/delete`);
}
}
+1 -1
View File
@@ -74,7 +74,7 @@ export interface OAuthAuthorizeResponse {
}
export interface OAuthCallbackResult {
status: 'logged_in' | 'bound';
status: 'logged_in' | 'bound' | 'need_bind';
user?: User;
}