Skip to content
Browse files

has_errors for taken deleted username

  • Loading branch information...
1 parent acb0879 commit b776de0f65cfcd671bd1523117fdab87c566ded0 @rtnielson committed Jun 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 r2/r2/controllers/api.py
View
1 r2/r2/controllers/api.py
@@ -414,6 +414,7 @@ def POST_login(self, form, jquery, user, username, dest, rem, reason):
def POST_register(self, form, jquery, name, email,
password, dest, rem, reason):
if not (form.has_errors("user", errors.BAD_USERNAME,
+ errors.USERNAME_TAKEN_DEL,
errors.USERNAME_TAKEN) or
form.has_errors("email", errors.BAD_EMAILS) or
form.has_errors("passwd", errors.BAD_PASSWORD) or

0 comments on commit b776de0

Please sign in to comment.
Something went wrong with that request. Please try again.