bugfixes and small features
Fixed config switches not registering the correct current value Added better ux when image uploads are disabled Fixed an issue where uploaded files were not being handled correctly Added the ability to disable user registrations Fixed some variables being unintendedly protected
This commit is contained in:
@ -291,6 +291,11 @@ class TheTempusProject extends Bedrock {
|
||||
"pretty" => "Enable CSRF Token for all forms.",
|
||||
"default" => true
|
||||
],
|
||||
"registrationEnabled" => [
|
||||
"type" => "radio",
|
||||
"pretty" => "Allow new users to register an account.",
|
||||
"default" => true
|
||||
],
|
||||
"loginLimit" => [
|
||||
"type" => "text",
|
||||
"pretty" => "Maximum Login Attempts per hour",
|
||||
@ -304,17 +309,15 @@ class TheTempusProject extends Bedrock {
|
||||
],
|
||||
"uploads" => [
|
||||
"images" => [
|
||||
"type"=> "radio",
|
||||
"pretty"=> "Upload Images Enabled",
|
||||
"default"=> true,
|
||||
"protected"=> true,
|
||||
"value"=> true,
|
||||
"type" => "radio",
|
||||
"pretty" => "Upload Images Enabled",
|
||||
"default" => true,
|
||||
"value" => true,
|
||||
],
|
||||
"maxImageSize"=> [
|
||||
"type" => "text",
|
||||
"pretty" => "Maximum size for image uploads",
|
||||
"default" => 500000,
|
||||
"protected" => true,
|
||||
"value" => 500000,
|
||||
]
|
||||
],
|
||||
|
Reference in New Issue
Block a user