Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Fix for OTP input (now uses a randomised ID)
Browse files Browse the repository at this point in the history
  • Loading branch information
carpii committed Oct 18, 2022
1 parent 3e34a43 commit ad1e88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Session {
await this.loginSelectMethod('otp');
await u.wait(this.page, '#mobilePinsentryCode-input-1');
await u.fillFields(this.page, {
'#lastDigits0': credentials['card_digits'],
'input[name="lastDigits"]': credentials['card_digits'],
'#mobilePinsentryCode-input-1': credentials['otp'].slice(0, 4),
'#mobilePinsentryCode-input-2': credentials['otp'].slice(4, 8),
});
Expand Down

0 comments on commit ad1e88d

Please sign in to comment.