Skip to content

Commit 7ed9c7c

Browse files
committed
Correctly store changes to upload size limit, closes pterodactyl#1237
1 parent e404918 commit 7ed9c7c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
66
## v0.7.10 (Derelict Dermodactylus)
77
### Fixed
88
* Scheduled tasks triggered manually no longer improperly change the `next_run_at` time and do not run twice in a row anymore.
9+
* Changing the maximum web-based file upload size for a node now properly validates and updates.
910

1011
### Changed
1112
* Egg and server variable values are no longer limited to 191 characters. Turns out some games require a large number of characters in these fields.

app/Models/Node.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class Node extends Model implements CleansAttributes, ValidableContract
113113
'daemonSFTP' => 'numeric|between:1024,65535',
114114
'daemonListen' => 'numeric|between:1024,65535',
115115
'maintenance_mode' => 'boolean',
116+
'upload_size' => 'int|between:1,1024',
116117
];
117118

118119
/**

0 commit comments

Comments
 (0)