From 191961e8b03db7eb46600ed751fcdbcebcc99028 Mon Sep 17 00:00:00 2001 From: trbKnl Date: Tue, 15 Oct 2024 12:45:52 +0200 Subject: [PATCH] researcher that logins in through Callbackplug is a creator --- core/lib/google_sign_in/plug.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/google_sign_in/plug.ex b/core/lib/google_sign_in/plug.ex index fdd980064..2d512828d 100644 --- a/core/lib/google_sign_in/plug.ex +++ b/core/lib/google_sign_in/plug.ex @@ -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)