Skip to content

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. screen shot 2016-01-24 at 3 41 11 am And when I click to set the password, the page is fine with the new password and confirmation field. screen shot 2016-01-24 at 3 41 21 am

But if I accidentally put different passwords on both fields, it loads the page with the original password (that I don't have). screen shot 2016-01-24 at 3 41 44 am

This PR will change this behave. When an error occurs it will show only the New password and confirmation when password is automatically seted.

screen shot 2016-01-24 at 1 11 25 pm

Thanks so much, 🍻

Merge request reports