From d7360eef3e2ed5816da5549d71d5bce57e129df3 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 2 Feb 2022 18:36:08 +0100 Subject: [PATCH] [utils] Remove unnecessary JS callback This seems to be no longer used or required for the webview login to work. --- legendary/utils/webview_login.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/legendary/utils/webview_login.py b/legendary/utils/webview_login.py index fe8a9f1..1513d99 100644 --- a/legendary/utils/webview_login.py +++ b/legendary/utils/webview_login.py @@ -31,11 +31,7 @@ window.ue = { registersignincompletecallback: pywebview.api.trigger_sid_exchange }, common: { - launchexternalurl: pywebview.api.open_url_external, - // not required, just needs to be non-null - auth: { - completeLogin: pywebview.api.nop - } + launchexternalurl: pywebview.api.open_url_external } } '''