Update the error message for the RequireAdmin Plug.

dev
KKlochko 1 month ago
parent 08b5bd3a12
commit 7bf009c38f

@ -13,7 +13,7 @@ defmodule DecentralisedBookIndexWeb.Plugs.RequireAdmin do
conn
else
conn
|> put_flash(:error, "Unauthorized")
|> put_flash(:error, "Unauthorized!")
|> redirect(to: "/")
|> halt()
end

Loading…
Cancel
Save