fix broken case clause

This commit is contained in:
byte[] 2020-04-18 20:25:08 -04:00
parent 051a204d55
commit e159c01bef

View file

@ -120,6 +120,9 @@ defmodule PhilomenaWeb.PowInvalidatedSessionPlug do
conn conn
|> Conn.put_private(:pow_session_metadata, metadata) |> Conn.put_private(:pow_session_metadata, metadata)
|> Plug.assign_current_user(user, config) |> Plug.assign_current_user(user, config)
user ->
Plug.assign_current_user(conn, user, config)
end end
end end