diff options
author | href <href@random.sh> | 2021-09-07 16:14:28 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-07 16:14:28 +0200 |
commit | 04062d5f2985c7fe8c0b2e3998a8886b5b99813b (patch) | |
tree | 164691a075be0de030d1d11f709407be9c8c4479 /lib/lsg_web/context_plug.ex | |
parent | assets update (diff) |
Fixes
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/context_plug.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lsg_web/context_plug.ex b/lib/lsg_web/context_plug.ex index 29eab28..aaf851e 100644 --- a/lib/lsg_web/context_plug.ex +++ b/lib/lsg_web/context_plug.ex @@ -10,6 +10,7 @@ defmodule LSGWeb.ContextPlug do cond do get_session(conn, :account) -> get_session(conn, :account) get_session(conn, :oidc_id) -> if account = IRC.Account.find_meta_account("identity-id", get_session(conn, :oidc_id)), do: account.id + true -> nil end end |