From dad45278246207b26aa0c42c02398106c10e2b19 Mon Sep 17 00:00:00 2001 From: Pavel Shpak Date: Sat, 9 Nov 2024 17:26:23 +0200 Subject: [PATCH] Fix query result in doc to verify_change_email_token_query (#5950) --- priv/templates/phx.gen.auth/schema_token.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/templates/phx.gen.auth/schema_token.ex b/priv/templates/phx.gen.auth/schema_token.ex index f7a792a664..d862d1d288 100644 --- a/priv/templates/phx.gen.auth/schema_token.ex +++ b/priv/templates/phx.gen.auth/schema_token.ex @@ -134,7 +134,7 @@ defmodule <%= inspect schema.module %>Token do @doc """ Checks if the token is valid and returns its underlying lookup query. - The query returns the <%= schema.singular %> found by the token, if any. + The query returns the <%= schema.singular %>_token found by the token, if any. This is used to validate requests to change the <%= schema.singular %> email. It is different from `verify_email_token_query/2` precisely because