Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 520545c

Browse files
committed
I-142671
1 parent 51d876a commit 520545c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

conf/web/WEB-INF/struts.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,14 +1197,14 @@
11971197
<result name="success">/WEB-INF/vmmanager/dashboard-vm-management.jsp</result>
11981198
</action>
11991199
<action name="launchVMInstance" class="launchVMInstanceAction">
1200-
<interceptor-ref name="token"/>
1200+
<!--<interceptor-ref name="token"/>-->
12011201
<interceptor-ref name="authnInterceptor"/>
12021202
<result name="success" type="json"/>
12031203
<result name="error" type="json"/>
12041204
<result name="invalid.token" type="json"/>
12051205
</action>
12061206
<action name="terminateVMInstance" class="terminateVMInstanceAction">
1207-
<interceptor-ref name="token"/>
1207+
<!--<interceptor-ref name="token"/>-->
12081208
<interceptor-ref name="authnInterceptor"/>
12091209
<result name="success" type="json"/>
12101210
<result name="error" type="json"/>

src/web/scripts/vmservice.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ if (!window.vmService) var vmService = {
123123
$.ajax({
124124
type: 'POST',
125125
url:'launchVMInstance',
126-
data: setupTokenRequest(data, getStruts2TokenName()),
126+
data: data, //setupTokenRequest(data, getStruts2TokenName()),
127127
timeout:20000, // Timeout of 20 secs
128128
dataType: "json",
129129
cache:false,
@@ -200,7 +200,7 @@ if (!window.vmService) var vmService = {
200200
type: 'POST',
201201
url: 'terminateVMInstance',
202202
timeout:20000, // Timeout of 20 secs
203-
data: setupTokenRequest({'instanceId' : instanceId}, getStruts2TokenName()),
203+
data: data, //setupTokenRequest({'instanceId' : instanceId}, getStruts2TokenName()),
204204
dataType: "json",
205205
cache: false,
206206
success: function(r) {

0 commit comments

Comments
 (0)