Fix entering credentials
This commit is contained in:
parent
ca84e18468
commit
ce539b61a1
@ -447,7 +447,7 @@ async function runner() {
|
|||||||
msg = 'Signing in attempt: ' + ctx.signinAttempts;
|
msg = 'Signing in attempt: ' + ctx.signinAttempts;
|
||||||
console.log(msg)
|
console.log(msg)
|
||||||
await chrome.storage.local.set({ "ctx_statusMsg": msg });
|
await chrome.storage.local.set({ "ctx_statusMsg": msg });
|
||||||
let signedIn = await enterCredentials();
|
let signedIn = await enterCredentials(cfg.username, cfg.password);
|
||||||
ctx.signinAttempts += 1;
|
ctx.signinAttempts += 1;
|
||||||
await chrome.storage.local.set({ "ctx_signinAttempts": ctx.signinAttempts });
|
await chrome.storage.local.set({ "ctx_signinAttempts": ctx.signinAttempts });
|
||||||
if (!signedIn) {
|
if (!signedIn) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user