Ignore:
Timestamp:
Nov 17, 2010, 10:45:55 AM (12 years ago)
Author:
robert@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/register/forgotPassword.gsp

    r976 r1152  
    1010        <g:form action='forgotPassword' name="forgotPasswordForm" autocomplete='off'>
    1111
     12
     13
    1214        <g:if test='${emailSent}'>
    1315          <br/>
    1416          <g:message code='spring.security.ui.forgotPassword.sent'/>
    1517        </g:if>
    16 
    1718        <g:else>
    1819
     
    2021          <h4><g:message code='spring.security.ui.forgotPassword.description'/></h4>
    2122
    22         <table>
    23                 <tr>
    24                         <td><label for="username"><g:message code='spring.security.ui.forgotPassword.username'/></label></td>
    25                         <td><g:textField name="username" size="25" /></td>
    26                 </tr>
    27         </table>
     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>
    2833
    2934          <input type="submit" value="Reset my password">
Note: See TracChangeset for help on using the changeset viewer.