Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #202 from brave/bl-9028
Browse files Browse the repository at this point in the history
Using pending credential instead of submitted form which might contain empty username
  • Loading branch information
bridiver authored May 30, 2017
2 parents 95a54df + 842b41f commit 022c00f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ void BravePasswordManagerClient::DidClickNever() {

void BravePasswordManagerClient::DidClickUpdate() {
if (form_to_save_) {
const autofill::PasswordForm *form = form_to_save_->submitted_form();
form_to_save_->Update(*form);
form_to_save_->Update(form_to_save_->pending_credentials());
}
}

Expand Down

0 comments on commit 022c00f

Please sign in to comment.