I have just tried and it is working fine for mismatched_password....

but in case the old password is wrong the message is still "value not
in database!"

On Jun 25, 4:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Try the trunk and the following customizations:
>
>         auth.messages.invalid_email = 'Invalid email'
>         auth.messages.invalid_login = 'Invalid login'
>         auth.messages.invalid_user = 'Invalid user'
>         auth.messages.is_empty = "Cannot be empty"
>         auth.messages.mismatched_password = "Password fields don't
> match"
>
> Massimo
>
> On Jun 25, 7:35 am, "Sebastian E. Ovide" <sebastianov...@gmail.com>
> wrote:
>
> > Hi,
>
> > Using Auth.change_password I noticed that if the 2 password do not match
> > web2py is giving the message "invalid expression!" and if the password is
> > not valid the message is "value not in database!". Is it possible to change
> > those strings with some more user friendly ones ?
>
> > thanks
>
> > Sebastian E. Ovide
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to