Okay, take a look at your changeset. It does not care for the name at all.
Also somewhere inbetween, there seems to happen something else, as the resulting struct has name: "User" in both cases, while you pass in your wrong name as :username.
Okay, take a look at your changeset. It does not care for the name at all.
Also somewhere inbetween, there seems to happen something else, as the resulting struct has name: "User" in both cases, while you pass in your wrong name as :username.