Thanks, this was very helpful.

On Monday, December 17, 2012 4:05:02 AM UTC+1, Massimo Di Pierro wrote:
>
> Which you can find here:
>
>
> http://web2py.com/examples/static/epydoc/web2py.gluon.validators.IS_STRONG-class.html
>
> On Sunday, 16 December 2012 17:49:51 UTC-6, Jonathan Lundell wrote:
>>
>> On 16 Dec 2012, at 3:47 PM, Daniel Gonzalez <[email protected]> wrote:
>>
>> Is is possible to specify what kind of password is allowed? For example, 
>> let's say I want:
>>
>>    - length >=8
>>    - at least 1 uppercase
>>    - at least 1 lowercase
>>    - at least 1 number
>>    - at least 1 char in a pre-defined set()
>>
>> I would also like to give the end-user information about why the password 
>> did not pass the cut, like "At least one uppercase is needed".
>>
>> How would this be done in web2py?
>>
>>
>> Have a look at IS_STRONG. 
>>
>

-- 



Reply via email to