git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make sure users created through tenant view are not admins
[plstackapi.git]
/
planetstack
/
core
/
dashboard
/
views
/
tenant.py
diff --git
a/planetstack/core/dashboard/views/tenant.py
b/planetstack/core/dashboard/views/tenant.py
index
762409e
..
a4b8e99
100644
(file)
--- a/
planetstack/core/dashboard/views/tenant.py
+++ b/
planetstack/core/dashboard/views/tenant.py
@@
-17,7
+17,8
@@
class RequestAccessView(View):
email=BaseUserManager.normalize_email(email),
firstname=firstname,
lastname=lastname,
- is_active=False
+ is_active=False,
+ is_admin=False
)
user.save()
user.site=Site.objects.get(name=site)