Follow 5.0 spec, if proxy need login and no usrname/passwd,
WRT will cancel auth not show popup for user to input usrname
and passwd.
Change-Id: Ie1851b745e75fb065d3d96bb22cc4c824f08f0b5
Signed-off-by: liwei <wei90727.li@samsung.com>
usrname = proxyInfo.username;
passwd = proxyInfo.password;
}
- }
- if (usrname && passwd) {
- callback(usrname, passwd);
+ if (usrname && passwd) {
+ callback(usrname, passwd);
+ } else {
+ console.log('Login, but usrname and passwd is empty!!!');
+ callback();
+ }
} else {
const id = ++self.pendingID;
console.log(`Raising a login info request with id: ${id}`);