Skip to content

Commit 73a1692

Browse files
authored
phx.gen.auth/schema_token.ex: Improve documentation wording (#6561)
1 parent 964fae5 commit 73a1692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

priv/templates/phx.gen.auth/schema_token.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ defmodule <%= inspect schema.module %>Token do
103103
If found, the query returns a tuple of the form `{<%= schema.singular %>, token}`.
104104
105105
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".
106+
database. This function also checks whether the token has expired. The context
107+
of a magic link token is always "login".
108108
"""
109109
def verify_magic_link_token_query(token) do
110110
case Base.url_decode64(token, padding: false) do

0 commit comments

Comments
 (0)