Fixing authentication cancel with null/undefined credentials.

This commit is contained in:
ali.ibrahim 2016-10-20 11:43:26 +02:00
parent 7549adcfce
commit 7f8b180f70
2 changed files with 21 additions and 3 deletions

View file

@ -305,9 +305,8 @@ void URLRequest::OnAuthenticationRequired(
return;
}
EmitRequestEvent(
false, "login", auth_info.get(),
base::Bind(&AtomURLRequest::PassLoginInformation, atom_request_));
Emit("login", auth_info.get(),
base::Bind(&AtomURLRequest::PassLoginInformation, atom_request_));
}
void URLRequest::OnResponseStarted(