diff --git a/core/setup.php b/core/setup.php
index 4026a748453ccafad32ade6f87db88e42c8ee39f..781d6e572af9ab4de2aeba6402844f56fffc97db 100644
--- a/core/setup.php
+++ b/core/setup.php
@@ -6,6 +6,7 @@ if( file_exists( $autosetup_file )) {
 	OC_Log::write('core', 'Autoconfig file found, setting up owncloud...', OC_Log::INFO);
 	include $autosetup_file;
 	$_POST = array_merge ($_POST, $AUTOCONFIG);
+	$_REQUEST = array_merge ($_REQUEST, $AUTOCONFIG);
 }
 
 $dbIsSet = isset($_POST['dbtype']);