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 <zach@zachdaniel.dev>

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
This commit is contained in:
James Harton 2023-01-13 17:21:37 +13:00 committed by GitHub
parent f16960f018
commit 53d221aa6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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