Skip to content

Commit

Permalink
researcher that logins in through Callbackplug is a creator
Browse files Browse the repository at this point in the history
  • Loading branch information
trbKnl committed Oct 15, 2024
1 parent bb94077 commit 191961e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/google_sign_in/plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule(GoogleSignIn.CallbackPlug) do

def call(conn, otp_app) do
session_params = get_session(conn, :google_sign_in)
creator? = Map.get(session_params || %{}, "creator", nil) == "true"
creator? = true

config = config(otp_app) |> Keyword.put(:session_params, session_params)

Expand Down

0 comments on commit 191961e

Please sign in to comment.