View Source Paraxial.CurrentUserPlug (Paraxial v2.8.0)
If a user's email is stored in conn.assigns.current_user.email
, you can use this plug to do: assign(conn, :paraxial_current_user, conn.assigns.current_user.email)
If a user's email is stored in conn.assigns.current_user.email
, you can use this plug to do: assign(conn, :paraxial_current_user, conn.assigns.current_user.email)