mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Revert "[SECURITY-420] RequirePOST to finish setup wizard"
This reverts commit 416fdddb97.
This commit is contained in:
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();
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user