| 12345678910111213141516171819202122232425262728293031 |
- <!-- /src/main/resources/io/jenkins/plugins/MfaVerifyAction/index.jelly -->
- <?jelly escape-by-default='true'?>
- <j:jelly xmlns:j="jelly:core" xmlns:l="/lib/layout" xmlns:f="/lib/form">
- <l:layout title="MFA Verification">
- <l:main-panel>
- <h1>${%MfaVerifyAction.title}</h1>
- <j:if test="${request.getParameter('error') == 'locked'}">
- <div class="error-message">
- ${%MfaVerifyAction.error.locked}
- </div>
- </j:if>
- <j:if test="${request.getParameter('error') == '1'}">
- <div class="error-message">
- ${%MfaUserProperty.totpCode.invalid}
- </div>
- </j:if>
- <form method="post" action="${rootURL}/mfa-verify/verify">
- <f:entry title="${%MfaUserProperty.verificationCode.label}">
- <f:textbox name="totpCode" />
- </f:entry>
- <f:entry>
- <f:submit value="${%MfaVerifyAction.submit}" />
- </f:entry>
- </form>
- <p class="setting-description">${%MfaVerifyAction.backupCodeHint}</p>
- </l:main-panel>
- </l:layout>
- </j:jelly>
|