forked from github/plane
dev: fix oauth configuration check (#3062)
This commit is contained in:
parent
dd87bd0ee2
commit
9918d5242c
@ -167,12 +167,6 @@ class OauthEndpoint(BaseAPIView):
|
||||
]
|
||||
)
|
||||
|
||||
if not GOOGLE_CLIENT_ID or not GITHUB_CLIENT_ID:
|
||||
return Response(
|
||||
{"error": "Github or Google login is not configured"},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
||||
if not medium or not id_token:
|
||||
return Response(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user