Revision 06b7df28 logic/users.py
b/logic/users.py | ||
---|---|---|
46 | 46 |
user.uniq = unq |
47 | 47 |
user.type = t |
48 | 48 |
user.credit = 10 #TODO: Fix this when we have a per group policy |
49 |
user.max_invitations = 0 |
|
49 | 50 |
user.save() |
50 | 51 |
create_auth_token(user) |
52 |
return user |
|
51 | 53 |
|
52 | 54 |
def create_uname(fullname): |
53 | 55 |
fullname = fullname.strip() |
Also available in: Unified diff