SOLVED: So the problem here was the param changeset. Since it is being piped it does not take changeset and should be:
|> validate_confirmation(:email, message: "Emails do not match")
Quite a misleading error message, and quite hard to debug.
SOLVED: So the problem here was the param changeset. Since it is being piped it does not take changeset and should be:
|> validate_confirmation(:email, message: "Emails do not match")
Quite a misleading error message, and quite hard to debug.