X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=blobdiff_plain;f=planetstack%2Fcore%2Fdashboard%2Fviews%2Ftenant.py;fp=planetstack%2Fcore%2Fdashboard%2Fviews%2Ftenant.py;h=a4b8e993d38a330284b6399792694b9cf6377c22;hp=762409e735f57130acab60b568003ae3b0471b0c;hb=e61496bbe4e377b71e61bb4fb36b706d51574ced;hpb=16e999bf8ad91595a563a75049db8040d6d85e71 diff --git a/planetstack/core/dashboard/views/tenant.py b/planetstack/core/dashboard/views/tenant.py index 762409e..a4b8e99 100644 --- 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)