kao123 / lifeforachild

Automatically exported from code.google.com/p/lifeforachild
0 stars 0 forks source link

List all Users - Update User resets Password unexpectedly #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to Reproduct:

1. From Homepage click "List all Users" 
2. Click "Update User" icon =>Update User page displays with the user's details 
populated.  Note that the Password field contains a very long string!.
3. Don't edit anything, just click UPDATE =>Error message:

Password is not strong enough. Must contain an uppercase, lowercase and number 
or special character and be 8 characters in length.

Original issue reported on code.google.com by tan.huy...@gmail.com on 26 May 2011 at 12:28

GoogleCodeExporter commented 8 years ago
The problem is the password is encrypted so that is what displays on update. I 
have moved the validation so it is only run for new passwords in create and 
update. If the password is not edited on update the encrypted password will 
show with ...... and no validation is done on save.

Original comment by serenapo...@gmail.com on 28 May 2011 at 11:56

GoogleCodeExporter commented 8 years ago
Retested OK by Tan.

Original comment by tan.huy...@gmail.com on 1 Jun 2011 at 12:27