Skip to content

Commit 2779cf9

Browse files
committed
fix cancel setup otp button not working
1 parent 105beca commit 2779cf9

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

webapp/src/main/webapp/WEB-INF/jsp/setupotpsecret.jsp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,21 +95,15 @@
9595
<pwm:display key="Button_Skip"/>
9696
</button>
9797
<% } %>
98-
<pwm:if test="<%=PwmIfTest.showCancel%>">
99-
<pwm:if test="<%=PwmIfTest.forcedPageView%>" negate="true">
100-
<button type="submit" name="button" class="btn" id="button-cancel">
101-
<pwm:if test="<%=PwmIfTest.showIcons%>"><span class="btn-icon pwm-icon pwm-icon-times"></span></pwm:if>
102-
<pwm:display key="Button_Cancel"/>
103-
</button>
104-
</pwm:if>
105-
</pwm:if>
10698
</form>
99+
<%@ include file="/WEB-INF/jsp/fragment/cancel-button.jsp" %>
107100
</div>
108101
</div>
109102
<div class="push"></div>
110103
</div>
111104
<pwm:script-ref url="/public/resources/js/responses.js"/>
112105
<pwm:script-ref url="/public/resources/js/otpsecret.js"/>
106+
<%@ include file="/WEB-INF/jsp/fragment/cancel-form.jsp" %>
113107
<%@ include file="fragment/footer.jsp" %>
114108
</body>
115109
</html>

0 commit comments

Comments
 (0)