Skip to content

Commit

Permalink
tutanota: make automatic 2fa token submit work again, fixes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Oct 19, 2018
1 parent 1e01c42 commit abd1a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron-preload/webview/tutanota/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function bootstrapApi(api: Unpacked<ReturnType<typeof resolveApi>>) {
const {GENERATED_MAX_ID} = api["src/api/common/EntityFunctions"];
const login2FaWaitElementsConfig = {
input: () => document.querySelector("#modal input.input") as HTMLInputElement,
button: () => document.querySelector("#modal input.input ~ div > button") as HTMLElement,
button: () => document.querySelector("#modal .flex-half.justify-end > button") as HTMLElement,
};
const endpoints: TutanotaApi = {
ping: () => of(null),
Expand Down

0 comments on commit abd1a6e

Please sign in to comment.