change email reset and confirm warning.

This commit is contained in:
Lili (Tlapka) 2021-10-13 12:44:52 +02:00
parent 16396c6a12
commit 8a23fdfe70
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,8 @@ defmodule PokemonCoutureWeb.UserResetPasswordController do
conn conn
|> put_flash( |> put_flash(
:info, :info,
"If your email is in our system, you will receive instructions to reset your password shortly." "Your request has been logged, please contact the site admin to complete it."
# "If your email is in our system, you will receive instructions to reset your password shortly."
) )
|> redirect(to: "/") |> redirect(to: "/")
end end

View File

@ -25,7 +25,8 @@ defmodule PokemonCoutureWeb.UserSettingsController do
conn conn
|> put_flash( |> put_flash(
:info, :info,
"A link to confirm your email change has been sent to the new address." "Your request has been logged, please contact the admin to complete the change process."
# "A link to confirm your email change has been sent to the new address."
) )
|> redirect(to: Routes.user_settings_path(conn, :edit)) |> redirect(to: Routes.user_settings_path(conn, :edit))