mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-08 14:04:31 +08:00
Render without root layout
This commit is contained in:
parent
b836e5219c
commit
ec0abe155a
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ defmodule LivebookWeb.AuthPlug do
|
|||
conn
|
||||
|> put_status(:unauthorized)
|
||||
|> put_view(LivebookWeb.ErrorHTML)
|
||||
|> put_root_layout(false)
|
||||
|> render("401.html", %{details: "You don't have permission to access this server"})
|
||||
|> halt()
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue