Skip to content

Commit

Permalink
fix: removing enforcement of https in demo instance
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Sep 16, 2023
1 parent 602cd0f commit c427cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def google_login(request):
current_domain, REPLACEMENT_DOMAIN
)

if settings.DEMO_INSTANCE:
redirect_uri = redirect_uri.replace("http://", "https://")
# if settings.DEMO_INSTANCE:
# redirect_uri = redirect_uri.replace("http://", "https://")

try:
return oauth.google.authorize_redirect(request, redirect_uri)
Expand Down

0 comments on commit c427cfe

Please sign in to comment.