mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +12:00
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:
parent
f16960f018
commit
53d221aa6f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue