Ignore:
Timestamp:
Oct 25, 2010, 3:28:44 PM (11 years ago)
Author:
robert@…
Message:

Removed spring-security-ui plugin to decrease dependencies. The functionality (user management and password resets) was copied to gscf itself.

File:
1 edited

Legend:

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

    r976 r985  
    77
    88<p/>
     9        <g:form action='resetPassword' name='resetPasswordForm' autocomplete='off'>
     10        <g:hiddenField name='t' value='${token}'/>
     11          <div class="sign-in">
    912
    10         <g:form action='resetPassword' name='resetPasswordForm' autocomplete='off'>
    11         <g:hiddenField name='t' value='${token}'/>
    12         <div class="sign-in">
     13                <g:hasErrors bean="${command}">
     14                  <p>Both passwords should match, contain more than 8 and less than 64 characters.</p>
     15                  <p>Also, passwords should contain at least one letter, one number and one symbol.</p>
     16                </g:hasErrors>
    1317
    14         <br/>
    15         <h4><g:message code='spring.security.ui.resetPassword.description'/></h4>
     18                <br/>
     19                <h4><g:message code='spring.security.ui.resetPassword.description'/></h4>
    1620
    17         <table>
    18                 <s2ui:passwordFieldRow name='password' labelCode='resetPasswordCommand.password.label' bean="${command}"
    19                              labelCodeDefault='Password' value="${command?.password}"/>
     21                <table>
     22                  <tr><td>Password</td><td><g:passwordField name="password" value="${command?.password}" /></td></tr>
     23                  <tr><td>Password (again)</td><td>
     24                        <g:passwordField name="password2" value="${command?.password2}" />
     25                  </td></tr>
     26                </table>
    2027
    21                 <s2ui:passwordFieldRow name='password2' labelCode='resetPasswordCommand.password2.label' bean="${command}"
    22                              labelCodeDefault='Password (again)' value="${command?.password2}"/>
    23         </table>
     28                <input type="submit" value="Reset my password" />
    2429
    25         <input type="submit" value="Reset my password" />
    26 
    27 
    28         </div>
     30          </div>
    2931        </g:form>
    3032
Note: See TracChangeset for help on using the changeset viewer.