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

@@ -37,6 +37,7 @@ defmodule Mixer.Accounts.User do
password :password do
identity_field :email
hash_provider AshAuthentication.BcryptProvider
require_confirmed_with :confirmed_at
resettable do
sender Mixer.Accounts.User.Senders.SendPasswordResetEmail