Ignore:
Timestamp:
Mar 14, 2009, 10:04:39 AM (11 years ago)
Author:
gav
Message:

Add changePassword under options view so that users can change their own password.
Adjust for password validation, userCache etc. Only a small bug during "edit" is left on second "update" command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/views/person/edit.gsp

    r65 r73  
    3131                        <input type="hidden" name="id" value="${person.id}" />
    3232                        <input type="hidden" name="version" value="${person.version}" />
     33            <input type="hidden" name="password" value="${person.password}" />
    3334                        <div class="dialog">
    3435                                <table>
     
    5758
    5859                                        <tr class="prop">
    59                                                 <td valign="top" class="name"><label for="password">Password:</label></td>
    60                                                 <td valign="top" class="value ${hasErrors(bean:person,field:'password','errors')}">
    61                                                         <input type="password" id="password" name="password" value="${person.password?.encodeAsHTML()}"/>
     60                                                <td valign="top" class="name"><label for="pass">Password:</label></td>
     61                                                <td valign="top" class="value ${hasErrors(bean:person,field:'pass','errors')}">
     62                                                        <input type="password" id="pass" name="pass"/>
    6263                                                </td>
    6364                                        </tr>
Note: See TracChangeset for help on using the changeset viewer.