Merge branch 'develop' of ssh://gl.id-east.ru:222/gm/gm-backend into develop
This commit is contained in:
commit
623a90e6a7
|
|
@ -113,7 +113,7 @@ class OAuth2SignUpView(OAuth2ViewMixin, JWTGenericViewMixin):
|
|||
|
||||
# Check OAuth2 response
|
||||
if oauth2_status != status.HTTP_200_OK:
|
||||
raise utils_exceptions.OAuth2Error()
|
||||
raise utils_exceptions.OAuth2Error(detail=body)
|
||||
|
||||
# Get authenticated user
|
||||
user = User.objects.by_oauth2_access_token(token=body.get('access_token'))\
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user