From 7477cc2601184a9f3d398e96f551ed00efc934dc Mon Sep 17 00:00:00 2001 From: Pavel Shpak Date: Fri, 11 Oct 2024 01:49:49 +0300 Subject: [PATCH] Fix query result in doc to verify_change_email_token_query. --- 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