mirror of https://github.com/M66B/FairEmail.git
Show OAuth errors (2)
This commit is contained in:
parent
442efbd7ef
commit
320ab884bf
|
@ -26,7 +26,7 @@
|
||||||
var url = new URL(window.location.href);
|
var url = new URL(window.location.href);
|
||||||
var error = url.searchParams.get('error');
|
var error = url.searchParams.get('error');
|
||||||
if (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';
|
document.getElementById('error').style.display = 'block';
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<h1>FairEmail</h1>
|
<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>
|
<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>
|
<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>
|
<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>
|
<noscript><h2>Please enable JavaScript or disable your ad blocker</h2></noscript>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in New Issue