Update the error message for the RequireAdmin Plug.

This commit is contained in:
2025-05-14 14:41:10 +03:00
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