Login with password now requires email to be confirmed

This commit is contained in:
2026-04-06 13:18:00 -04:00
parent cc6586587f
commit 6927f6eb9b
4 changed files with 20 additions and 16 deletions

View File

@@ -35,8 +35,11 @@ defmodule MixerWeb.AuthController do
You can confirm your account using the link we sent to you, or by resetting your password.
"""
{_, %AshAuthentication.Errors.UnconfirmedUser{}} ->
"You must confirm your email address before signing in. Please check your inbox for a confirmation email."
_ ->
"Incorrect email or password"
"Incorrect email or password or unconfirmed email"
end
conn