From 53d221aa6f970a71f5351d6354d9fe58e2b502a8 Mon Sep 17 00:00:00 2001 From: James Harton <59449+jimsynz@users.noreply.github.com> Date: Fri, 13 Jan 2023 17:21:37 +1300 Subject: [PATCH] docs: Add a small warning about defining the failure template. (#134) * docs: Add a small warning about defining the failure template. Closes #118. * Update documentation/tutorials/integrating-ash-authentication-and-phoenix.md Co-authored-by: Zach Daniel Co-authored-by: Zach Daniel --- .../tutorials/integrating-ash-authentication-and-phoenix.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documentation/tutorials/integrating-ash-authentication-and-phoenix.md b/documentation/tutorials/integrating-ash-authentication-and-phoenix.md index b61c1ae..0839241 100644 --- a/documentation/tutorials/integrating-ash-authentication-and-phoenix.md +++ b/documentation/tutorials/integrating-ash-authentication-and-phoenix.md @@ -106,6 +106,9 @@ You can define multiple versions if required (eg one for your `:api` pipeline and another for your `:browser` pipeline). Let's define a version for a browser client: +> Remember to define an appropriate template in `failure.html.heex` for your +> controller. Alternatively, you could redirect with a flash message. + ```elixir # lib/my_app_web/controllers/auth_controller.ex