这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielberkompas
Copy link
Contributor

Currently, validate_secure_password/1 will raise an error if you try
to change any field on your User without specifying
password_confirmation.

This commit makes it so that the confirmation field will only be required if you try to change the designated password field.

@danielberkompas danielberkompas force-pushed the stop-requiring-confirmation branch from 2e99c8d to dbe32c7 Compare January 22, 2018 21:33
Currently, `validate_secure_password/1` will raise an error if you try
to change any field on your `User` without specifying
`password_confirmation`.

This commit makes it so that the `confirmation` field will only be required if you try to change the designated password field.
@danielberkompas danielberkompas force-pushed the stop-requiring-confirmation branch from dbe32c7 to ffe9a90 Compare January 22, 2018 21:33
@danielberkompas danielberkompas merged commit 046c482 into master Jan 22, 2018
@danielberkompas danielberkompas deleted the stop-requiring-confirmation branch January 22, 2018 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants