mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Merge pull request #1502 from CachetHQ/ignore-token-field
Ignore the _token field when updating settings
This commit is contained in:
commit
3cb6ba237c
@ -230,7 +230,7 @@ class SettingsController extends Controller
|
||||
}
|
||||
|
||||
try {
|
||||
foreach (Binput::except(['app_banner', 'remove_banner']) as $settingName => $settingValue) {
|
||||
foreach (Binput::except(['app_banner', 'remove_banner', '_token']) as $settingName => $settingValue) {
|
||||
if ($settingName === 'app_analytics_pi_url') {
|
||||
$settingValue = rtrim($settingValue, '/');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user