|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
var url = new URL(window.location.href);
|
|
|
|
|
var error = url.searchParams.get('error');
|
|
|
|
|
if (error) {
|
|
|
|
|
document.getElementById('error').innerText = error;
|
|
|
|
|
document.getElementById('error').innerHTML = '<span>The email server said: <span class="error">' + error + '</span></span>';
|
|
|
|
|
document.getElementById('error').style.display = 'block';
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
<h1>FairEmail</h1>
|
|
|
|
|
<p><img src="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png" alt="FairEmail" height="72" width="72" /></p>
|
|
|
|
|
<h2>🛡 OAuth</h2>
|
|
|
|
|
<p id="error" class="error" style="display: none;"></p>
|
|
|
|
|
<p id="error" style="display: none;"></p>
|
|
|
|
|
<p><button id="oauth" class="button-large">Continue</button> to the app</p>
|
|
|
|
|
<noscript><h2>Please enable JavaScript or disable your ad blocker</h2></noscript>
|
|
|
|
|
<br>
|
|
|
|
|