Skip to content

Commit abd1a6e

Browse files
committed
tutanota: make automatic 2fa token submit work again, fixes #54
1 parent 1e01c42 commit abd1a6e

File tree

1 file changed

+1
-1
lines changed
  • src/electron-preload/webview/tutanota

1 file changed

+1
-1
lines changed

src/electron-preload/webview/tutanota/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function bootstrapApi(api: Unpacked<ReturnType<typeof resolveApi>>) {
3737
const {GENERATED_MAX_ID} = api["src/api/common/EntityFunctions"];
3838
const login2FaWaitElementsConfig = {
3939
input: () => document.querySelector("#modal input.input") as HTMLInputElement,
40-
button: () => document.querySelector("#modal input.input ~ div > button") as HTMLElement,
40+
button: () => document.querySelector("#modal .flex-half.justify-end > button") as HTMLElement,
4141
};
4242
const endpoints: TutanotaApi = {
4343
ping: () => of(null),

0 commit comments

Comments
 (0)