From d05dbf04115aee7eaf5aca70ce5f8817a5f8f7c2 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 12 Aug 2022 21:56:54 +0200 Subject: [PATCH] OAuth page improvements --- oauth/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/oauth/index.html b/oauth/index.html index 318d061385..bac10eecf2 100644 --- a/oauth/index.html +++ b/oauth/index.html @@ -26,12 +26,15 @@ var url = new URL(window.location.href); var error = url.searchParams.get('error'); if (error) { - document.getElementById('error').innerHTML = 'The email server said: ' + error + ''; + document.getElementById('errmsg').innerText = error; document.getElementById('error').style.display = 'block'; } } catch (error) { console.error(error); } + + document.getElementById('debug').innerText = window.location.search; + document.getElementById('debug').style.display = 'none'; } function oauth() { @@ -43,8 +46,9 @@

FairEmail

FairEmail

🛡 OAuth

- +

to the app

+

What is OAuth?