[WEB - 1315] fix: user sign up and sign in on a deactivated account (#4460)

* dev: remove email host user and email host password

* dev: fix user account deactivation error

* dev: fix caching issue of last workspace

* dev: add exclude for instances endpoint

* dev: update url redirection for auth
This commit is contained in:
Nikhil 2024-05-15 22:08:54 +05:30 committed by GitHub
parent b78a064305
commit 89f2e37b14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 35 additions and 70 deletions

View file

@ -269,6 +269,7 @@ class ProfileEndpoint(BaseAPIView):
serializer = ProfileSerializer(profile)
return Response(serializer.data, status=status.HTTP_200_OK)
@invalidate_cache("/api/users/me/settings/")
def patch(self, request):
profile = Profile.objects.get(user=request.user)
serializer = ProfileSerializer(