limit the maximum size of upload pictures

This commit is contained in:
MaysWind
2024-09-06 23:34:35 +08:00
parent 2dddb77ca4
commit 9622d5de06
8 changed files with 30 additions and 0 deletions
+6
View File
@@ -202,6 +202,9 @@ forget_password_require_email_verify = false
# Set to true to allow users to upload transaction pictures
enable_transaction_picture = true
# Maximum allowed transaction picture file size (1 - 4294967295 bytes)
max_transaction_picture_size = 10485760
# Set to true to allow users to create scheduled transaction
enable_scheduled_transaction = true
@@ -211,6 +214,9 @@ enable_scheduled_transaction = true
# Leave blank if you want to disable user avatar
avatar_provider = internal
# For "internal" avatar provider only, maximum allowed user avatar file size (1 - 4294967295 bytes)
max_user_avatar_size = 1048576
[data]
# Set to true to allow users to export their data
enable_export = true