mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +12:00
docs: you have to explicitly turn on token generation.
This commit is contained in:
parent
8d584030f6
commit
b9a81770f3
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ defmodule MyApp.Accounts.User do
|
||||||
end
|
end
|
||||||
|
|
||||||
tokens do
|
tokens do
|
||||||
|
enabled? true
|
||||||
token_resource MyApp.Accounts.Token
|
token_resource MyApp.Accounts.Token
|
||||||
signing_secret fn _, _ ->
|
signing_secret fn _, _ ->
|
||||||
Application.fetch_env(:my_app, :token_signing_secret)
|
Application.fetch_env(:my_app, :token_signing_secret)
|
||||||
|
|
Loading…
Reference in a new issue