ImagineWeb.Plugs.Auth (imagine_cms v6.3.5)

Auth plug - looks up user based on session[:user_id] and sets conn.assigns[:current_user]

Link to this section Summary

Link to this section Functions

Link to this function

call(conn, opts)

Specs

call(Plug.Conn.t(), any()) :: Plug.Conn.t()

Specs

init(any()) :: any()