[BUGFIX] Fix option to disable direct file upload