Disabled option executeCommand from api and webui for security reasons

This commit is contained in:
RemixDev 2021-07-27 20:34:03 +02:00
parent af74eb36bd
commit 873b2b044d

View File

@ -65,6 +65,7 @@ export function getSettings(): any {
} }
export function saveSettings(newSettings: any, newSpotifySettings: any) { export function saveSettings(newSettings: any, newSpotifySettings: any) {
newSettings.executeCommand = settings.executeCommand
deemix.settings.save(newSettings, configFolder) deemix.settings.save(newSettings, configFolder)
settings = newSettings settings = newSettings
plugins.spotify.saveSettings(newSpotifySettings) plugins.spotify.saveSettings(newSpotifySettings)