mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
fix broken case clause
This commit is contained in:
parent
051a204d55
commit
e159c01bef
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue