feat(core): improve auth handling (#15271)

fix #15270
fix #15260
fix #15257


#### PR Dependency Tree


* **PR #15271** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
DarkSky
2026-07-18 06:27:01 +08:00
committed by GitHub
parent 427db39862
commit d24c17f300
17 changed files with 273 additions and 99 deletions
+4 -2
View File
@@ -9312,9 +9312,11 @@ export function useAFFiNEI18N(): {
readonly message: string;
}): string;
/**
* `Invalid URL`
* `URL blocked by SSRF protection: {{reason}}`
*/
["error.SSRF_BLOCKED_ERROR"](): string;
["error.SSRF_BLOCKED_ERROR"](options: {
readonly reason: string;
}): string;
/**
* `Response too large ({{receivedBytes}} bytes), limit is {{limitBytes}} bytes`
*/
+1 -1
View File
@@ -2325,7 +2325,7 @@
"error.BAD_REQUEST": "Bad request.",
"error.GRAPHQL_BAD_REQUEST": "GraphQL bad request, code: {{code}}, {{message}}",
"error.HTTP_REQUEST_ERROR": "HTTP request error, message: {{message}}",
"error.SSRF_BLOCKED_ERROR": "Invalid URL",
"error.SSRF_BLOCKED_ERROR": "URL blocked by SSRF protection: {{reason}}",
"error.RESPONSE_TOO_LARGE_ERROR": "Response too large ({{receivedBytes}} bytes), limit is {{limitBytes}} bytes",
"error.EMAIL_SERVICE_NOT_CONFIGURED": "Email service is not configured.",
"error.IMAGE_FORMAT_NOT_SUPPORTED": "Image format not supported: {{format}}",