OAuth simplification

This commit is contained in:
M66B 2022-11-22 15:41:59 +01:00
parent cd977705db
commit 7d14b16ca0
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8">
<title>FairEmail - OAuth</title>
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png" />
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png">
<meta name="theme-color" content="#006db3">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="description" content="FairEmail - OAuth">
@ -20,7 +20,7 @@
function load() {
document.getElementById('oauth').addEventListener('click', oauth);
document.getElementById('year').textContent= new Date().getFullYear();
document.getElementById('year').textContent = new Date().getFullYear();
try {
var url = new URL(window.location.href);
@ -44,7 +44,7 @@
</head>
<body>
<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>&#x1F6E1; OAuth</h2>
<p id="error" style="display: none;"><span>The email server said: <span id="errmsg" class="error"></span></span></p>
<p><button id="oauth" class="button-large">Continue</button> to the app</p>