1
13693261870
2022-09-16 58d012f11dd34564d81b4eb3a6099eb689876597
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<script th:inline="javascript">
    /*<![CDATA[*/
 
    var policyPattern = /*[[${policyPattern}]]*/ ;
    
    /*]]>*/
</script>
 
<div class="alert alert-info">
    <h2 th:utext="#{screen.mustchangepass.heading}"/>
    <p/>
    <br/>
    <form id="passwordManagementForm" th:if="${passwordManagementEnabled}" method="post" th:object="${password}">
        <p>
 
        <div class="alert alert-danger" th:if="${#fields.hasErrors('*')}">
            <span th:each="err : ${#fields.errors('*')}" th:utext="${err}"/>
        </div>
 
        <table>
            <tr>
                <td class="pm">
                    <label for="password">Enter password:</label>
                </td>
                <td class="pm">
                    <input class="required" type="password" id="password" th:field="*{password}"/>
                </td>
            </tr>
            <tr>
                <td class="pm">
                    <label for="confirmedPassword">Confirm password:</label>
                </td>
                <td class="pm">
                    <input class="required" type="password" id="confirmedPassword" th:field="*{confirmedPassword}" />
                </td>
            </tr>
        </table>
 
        <div>
            <br/>
            <meter max="4" id="password-strength-meter"/>
        </div>
        </p>
        <p id="password-strength-text"></p>
        
        <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
        <input type="hidden" name="_eventId" value="submit"/>
        <input class="btn btn-success"
               name="submit"
               accesskey="s"
               th:value="#{screen.pm.button.submit}"
               id="submit"
               type="submit"/>
        <input
                class="btn-reset"
                name="cancel"
                accesskey="c"
                th:value="#{screen.pm.button.cancel}"
                type="button"
                onclick="location.href = location.href;"/>
    </form>
    <p th:unless="${passwordManagementEnabled}" th:utext="#{screen.mustchangepass.message}"/>
</div>