root/trunk/grails-app/views/register/forgotPassword.gsp @ 1152

Revision 1152, 0.8 KB (checked in by robert@…, 3 years ago)

Changed flash.error to flash.userError in the authentication part to resolve #197

RevLine 
[976]1<head>
2  <title><g:message code='spring.security.ui.forgotPassword.title'/></title>
3  <meta name='layout' content='main'/>
4</head>
5
6<body>
7
8<p/>
9
10        <g:form action='forgotPassword' name="forgotPasswordForm" autocomplete='off'>
11
[1152]12
13
[976]14        <g:if test='${emailSent}'>
15          <br/>
16          <g:message code='spring.security.ui.forgotPassword.sent'/>
17        </g:if>
18        <g:else>
19
20          <br/>
21          <h4><g:message code='spring.security.ui.forgotPassword.description'/></h4>
22
[1152]23                  <g:if test='${flash.userError}'>
24                        ${flash.userError}
25                        <br/>
26                  </g:if>
27                <table>
28                        <tr>
29                                <td><label for="username"><g:message code='spring.security.ui.forgotPassword.username'/></label></td>
30                                <td><g:textField name="username" size="25" /></td>
31                        </tr>
32                </table>
[976]33
34          <input type="submit" value="Reset my password">
35
36        </g:else>
37
38        </g:form>
39
40
41</body>
Note: See TracBrowser for help on using the browser.