From 7d6b343c8c91a92beaace41fa6f697e1d8475864 Mon Sep 17 00:00:00 2001 From: lucaslinhares Date: Mon, 24 Apr 2023 17:44:50 -0300 Subject: [PATCH] remove Tema New create --- weni/auth/backends.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/weni/auth/backends.py b/weni/auth/backends.py index fd8efd8c1..ada4efc4f 100644 --- a/weni/auth/backends.py +++ b/weni/auth/backends.py @@ -33,18 +33,6 @@ def create_user(self, claims): user.save() - org = Org.objects.create( - name="Temba New", - timezone=pytz.timezone("America/Sao_Paulo"), - brand=settings.DEFAULT_BRAND, - created_by=user, - modified_by=user, - ) - org.administrators.add(user) - - # initialize our org, but without any credits - org.initialize(branding=org.get_branding(), topup_size=0) - return user def update_user(self, user, claims):