pow_assent
pow_assent copied to clipboard
Better changeset error handling
Related to #170 this PR attempts to work through better changeset error handling.
The first step was eliminating the :uid_provider combination, and just check unique constraint on :uid. The second will be to make the changeset error handling more aware of other types of errors when checking for :bound_to_different_user or :invalid_user_id_field. I'm not sure that returning the tuple is the best way to deal with this.