Re: [appfuse-user] User Password strength

2008-02-18 Thread watcher
> > You could require that the current password be provided in order to edit > an existing user, then you can check whether the pre-encrypted password > matches your rules, and that the post-encrypted password matches their > current password. If either of those fail the edit can be rejecte

Re: [appfuse-user] User Password strength

2008-02-13 Thread Dale Newfield
watcher wrote: ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{6,20}$ This Reg Expression I'm told requires a password to have a least 1 uppercase letter, 1 digit and a minimum length of 5 characters. Minimum length of 6. Maximum length of 20. The solution works for adding new users, but i

[appfuse-user] User Password strength

2008-02-13 Thread watcher
I'm attempting to add password strength validation to the user object. Here's what I've added to the validation.xml password ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{6,20}$ This Reg Expression I'm told requires a password to have a least 1 uppercase letter, 1 digit a