Updated code comment

This commit is contained in:
Greg Holt 2014-03-02 03:51:56 +00:00
parent 655161a807
commit 3885d8bfab
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ class Swauth(object):
return HTTPBadRequest(request=req)
# if user to be deleted is reseller_admin, then requesting
# user must also be a reseller_admin
# user must be the super_admin
is_reseller_admin = self.is_user_reseller_admin(req, account, user)
if not is_reseller_admin and not req.credentials_valid:
# if user to be deleted can't be found, return 404