#14089: Username validation allows '@' character, while auth backend explicitly
prevents this.
----------------------------+-----------------------------------------------
 Reporter:  [email protected]   |       Owner:  nobody    
   Status:  new             |   Milestone:            
Component:  Authentication  |     Version:  1.2       
 Keywords:                  |       Stage:  Unreviewed
Has_patch:  0               |  
----------------------------+-----------------------------------------------
 When editing users, the help_text for username states: "Required. 30
 characters or fewer. Letters, digits and @/./+/-/_ only."
 However, when trying to log in with a username that (thus validly)
 contains "@", you get the error "Usernames cannot contain the '@'
 character.".

 Of course, the login backend can be replaced with a custom one, but if
 using a non-existent username containing "@", you still get the
 contradictory error message.

 I think the (useless) error message should be removed if the model allows
 "@".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14089>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en.

Reply via email to