My error - I forgot to add the proper validators for the "username"
field, i.e.:

t.username.requires = [IS_NOT_EMPTY(), IS_NOT_IN_DB(db,
db.auth_user.username)]

Apologies for the senseless post.

On Jul 25, 3:07 pm, Vidul Petrov <[email protected]> wrote:
> Hi all,
>
> Just noticed that when username is used for login one can edit the
> profile and change the username to an existing one.
> Thus the account becomes unusable, because the system recognize only
> the original username.
> Any fix?
>
> Thank you for the help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to