mirror of
https://github.com/flarum/core.git
synced 2025-08-21 07:41:49 +02:00
Add extra error handling for avatar file size & large payload (#3042)
* Add extra error handling for avatar file size & large payload * Change error message to return 'upload failure' on most errors instead of 'no file' message
This commit is contained in:
committed by
GitHub
parent
1aa61f1f01
commit
eb0dd1f0d0
@@ -521,6 +521,7 @@ core:
|
||||
generic_message: "Oops! Something went wrong. Please reload the page and try again."
|
||||
missing_dependencies_message: "Cannot enable {extension} until the following dependencies are enabled: {extensions}"
|
||||
not_found_message: The requested resource was not found.
|
||||
payload_too_large_message: The request payload was too large.
|
||||
permission_denied_message: You do not have permission to do that.
|
||||
rate_limit_exceeded_message: You're going a little too quickly. Please try again in a few seconds.
|
||||
|
||||
|
Reference in New Issue
Block a user