mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-19 02:51:47 +08:00
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:
@@ -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`
|
||||
*/
|
||||
|
||||
@@ -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}}",
|
||||
|
||||
Reference in New Issue
Block a user