File size: 357 Bytes
88211d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
defmodule PlausibleWeb.Live.AuthLayoutContext do
  @moduledoc false

  import Phoenix.Component

  def on_mount(_arg, _params, _session, socket) do
    socket =
      assign(socket,
        hide_header?: true,
        hide_footer?: true,
        disable_global_notices?: true
      )

    {:cont, socket, layout: {PlausibleWeb.LayoutView, :auth}}
  end
end