diff --git a/app/Classes/Settings/System.php b/app/Classes/Settings/System.php index e217b987..f2759c1f 100644 --- a/app/Classes/Settings/System.php +++ b/app/Classes/Settings/System.php @@ -48,6 +48,7 @@ public function checkPteroClientkey(){ "enable-disable-servers" => "string", "show-imprint" => "string", "show-privacy" => "string", + "show-tos" => "string", ]); $validator->after(function ($validator) use ($request) { @@ -91,6 +92,7 @@ public function checkPteroClientkey(){ "SETTINGS::SYSTEM:CREATION_OF_NEW_USERS" => "enable-disable-new-users", "SETTINGS::SYSTEM:SHOW_IMPRINT" => "show-imprint", "SETTINGS::SYSTEM:SHOW_PRIVACY" => "show-privacy", + "SETTINGS::SYSTEM:SHOW_TOS" => "show-tos", ]; diff --git a/resources/views/admin/settings/tabs/system.blade.php b/resources/views/admin/settings/tabs/system.blade.php index f51df1f2..1cf92b8f 100644 --- a/resources/views/admin/settings/tabs/system.blade.php +++ b/resources/views/admin/settings/tabs/system.blade.php @@ -13,6 +13,19 @@