pass user auth test

This commit is contained in:
2022-02-17 20:53:17 -05:00
parent 13c5ba12d2
commit 14b677996d
4 changed files with 48 additions and 32 deletions

View File

@ -33,6 +33,7 @@ defmodule CanneryWeb.UserAuth do
def log_in_user(conn, %User{confirmed_at: nil}, _params) do
conn
|> fetch_flash()
|> put_flash(
:error,
dgettext("errors", "You must confirm your account and log in to access this page.")