Revert "[SECURITY-420] RequirePOST to finish setup wizard"

This reverts commit 416fdddb97.
This commit is contained in:
Daniel Beck committed 2017-04-16 22:33:09 +02:00
1 parent 2f8d8f370a
commit ce5c517433
2 files changed
+1 -2

No files matched your search

@@ -443,7 +443,6 @@ public class SetupWizard extends PageDecorator {
/**
* Remove the setupWizard filter, ensure all updates are written to disk, etc
*/
@RequirePOST
public HttpResponse doCompleteInstall() throws IOException, ServletException {
completeSetup();
return HttpResponses.okJSON();
+1 -1
View File
@@ -177,7 +177,7 @@ exports.incompleteInstallStatus = function(handler, correlationId) {
* Call this to complete the installation without installing anything
*/
exports.completeInstall = function(handler) {
jenkins.post('/setupWizard/completeInstall', {}, function() {
jenkins.get('/setupWizard/completeInstall', function() {
handler.call({ isError: false });
}, {
timeout: pluginManagerErrorTimeoutMillis,