[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:
parent
b78a064305
commit
89f2e37b14
8 changed files with 35 additions and 70 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue