We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964fae5 commit 73a1692Copy full SHA for 73a1692
priv/templates/phx.gen.auth/schema_token.ex
@@ -103,8 +103,8 @@ defmodule <%= inspect schema.module %>Token do
103
If found, the query returns a tuple of the form `{<%= schema.singular %>, token}`.
104
105
The given token is valid if it matches its hashed counterpart in the
106
- database. This function also checks if the token is being used within
107
- 15 minutes. The context of a magic link token is always "login".
+ database. This function also checks whether the token has expired. The context
+ of a magic link token is always "login".
108
"""
109
def verify_magic_link_token_query(token) do
110
case Base.url_decode64(token, padding: false) do
0 commit comments