tested upgrade stuff, improved new user emails
This commit is contained in:
@@ -597,7 +597,7 @@ def process_request_code(manager,code):
|
||||
if rekwest.team.manager != manager:
|
||||
return (0,'You are not the manager of this team')
|
||||
|
||||
result = add_member(t.id,r)
|
||||
result,comment = add_member(t.id,r)
|
||||
if not result:
|
||||
return (result,"The member couldn't be added")
|
||||
|
||||
@@ -622,7 +622,7 @@ def process_invite_code(user,code):
|
||||
return (0,'The invitation has expired')
|
||||
|
||||
t = invitation.team
|
||||
result = add_member(t.id,r)
|
||||
result, comment = add_member(t.id,r)
|
||||
if not result:
|
||||
return (result,"The member couldn't be added")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user