mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-17 21:43:59 +00:00
Apply yellowBright color on LOGIN-PASSWORDLESS events for visibility and fixes mobile flow failed (need tests) (#442)
* Apply yellowBright color on LOGIN-PASSWORDLESS events for visibility * Fix Mobile flow failed for abc@email.com: Request failed with status code 400 Fixes #441
This commit is contained in:
@@ -55,7 +55,7 @@ export class Login {
|
||||
totpInput: 'input[name="otc"]',
|
||||
totpInputOld: 'form[name="OneTimeCodeViewForm"]',
|
||||
identityBanner: '[data-testid="identityBanner"]',
|
||||
viewFooter: '[data-testid="viewFooter"] span[role="button"] >> nth=-1',
|
||||
viewFooter: '[data-testid="viewFooter"] >> [role="button"]',
|
||||
bingProfile: '#id_n',
|
||||
requestToken: 'input[name="__RequestVerificationToken"]',
|
||||
requestTokenMeta: 'meta[name="__RequestVerificationToken"]'
|
||||
|
||||
@@ -79,13 +79,15 @@ export class PasswordlessLogin {
|
||||
this.bot.logger.info(
|
||||
this.bot.isMobile,
|
||||
'LOGIN-PASSWORDLESS',
|
||||
`Please approve login and select number: ${displayedNumber}`
|
||||
`Please approve login and select number: ${displayedNumber}`,
|
||||
'yellowBright'
|
||||
)
|
||||
} else {
|
||||
this.bot.logger.info(
|
||||
this.bot.isMobile,
|
||||
'LOGIN-PASSWORDLESS',
|
||||
'Please approve login on your authenticator app'
|
||||
'Please approve login on your authenticator app',
|
||||
'yellowBright'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user