| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE html>
- <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
- <title th:text="#{cas.mfa.yubikey.pagetitle}">YubiKey Login View</title>
- <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
- </head>
- <body>
- <main role="main" class="container mt-3 mb-3">
- <div layout:fragment="content" id="login">
- <form method="post" id="yubiKeyForm" th:object="${credential}" th:action="@{/login}">
- <div class="alert alert-info" th:text="#{cas.mfa.yubikey.authenticate}">
- Use your registered YubiKey device to authenticate.
- </div>
- <div class="alert alert-danger" th:if="${#fields.hasErrors('*')}">
- <span th:each="err : ${#fields.errors('*')}" th:utext="${err}">Error message</span>
- </div>
- <div class="form-group">
- <label for="token" th:utext="#{screen.welcome.label.password}"><span class="accesskey">P</span>assword:</label>
- <input type="password" class="form-control required" required id="token" size="25" tabindex="1"
- th:field="*{token}"
- th:accesskey="#{screen.welcome.label.password.accesskey}" autocomplete="off"/>
- </div>
- <input class="btn btn-submit" name="_eventId_submit" accesskey="l"
- th:value="#{screen.welcome.button.login}" tabindex="2" type="submit" value="Login"/>
- <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
- <input type="hidden" name="geolocation"/>
- </form>
- </div>
- </main>
- </body>
- </html>
|