You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IO.warn"#{unquote(__MODULE__)}.confirm_email/2 called with token is deprecated, use `load_user_by_token/2` and `confirm_email/2` with map as second argument instead"
87
-
88
-
config=Plug.fetch_config(conn)
89
-
90
-
token
91
-
|>Context.get_by_confirmation_token(config)
92
-
|>maybe_confirm_email(conn,config)
93
-
end
94
84
95
85
defpconfirm_email_user(conn)do
96
86
conn.assigns[:confirm_email_user]
@@ -110,15 +100,4 @@ defmodule PowEmailConfirmation.Plug do
IO.warn("use of `:persistent_session_cookie_max_age` config value in #{inspectunquote(__MODULE__)} is deprecated, please use `:persistent_session_ttl`")
0 commit comments