Avoid to show the original password field when password is automatically seted
Created by: duduribeiro
Hi,
When I create an account using an Omniauth provider, it sets automatically a password for me. And gitlab suggests to set a password to be able to pull/push via HTTP.
And when I click to set the password, the page is fine with the new password
and confirmation
field.
But if I accidentally put different passwords on both fields, it loads the page with the original password
(that I don't have).
This PR will change this behave. When an error occurs it will show only the New password
and confirmation
when password is automatically seted.
Thanks so much,