Remove redirect uri from auth link

No used
Also simplify disclaimer
master
Damian Peterson 2 years ago
parent 0159c60ed2
commit 2c7a416e5f

@ -2,7 +2,7 @@
/*
Electric Kiwi HourChanger
Not affiliated with Electric Kiwi the company.
Not affiliated with Electric Kiwi.
Uses the Electric Kiwi API to update a customer's hour of free power. Created because the web page provided by the
company became a 12MB JS-only web app that broke integration with common password managers.
@ -425,7 +425,7 @@ if ($isLoggedIn && $_POST) {
<div class="message"><?= $message ?></div>
<?php endif; ?>
<div class="actions">
<a href="<?= $vars['AUTHORIZE_URL']; ?>?response_type=code&client_id=<?= $vars['CLIENT_ID'] ?>&redirect_uri=<?= $vars['REDIRECT_URL'] ?>&scope=<?= urlencode($vars['SCOPES']) ?>"
<a href="<?= $vars['AUTHORIZE_URL']; ?>?response_type=code&client_id=<?= $vars['CLIENT_ID'] ?>&scope=<?= urlencode($vars['SCOPES']) ?>"
class="button">Log in now</a>
</div>
<?php else: ?>
@ -448,7 +448,7 @@ if ($isLoggedIn && $_POST) {
</form>
<p>Logged in as <?= $customerName ?>. <a href="?logout" class="logout">Log out</a></p>
<?php endif; ?>
<p class="info">This site is not affiliated with Electric Kiwi. It uses Electric Kiwi's API in order to allow you to
<p class="info">This site is not affiliated with Electric Kiwi. It uses Electric Kiwi's API to
update your hour of power. None of your personal information is retained or shared.
<a href="https://git.peterson.nz/damian/HourChanger">Source code</a>
</p>

Loading…
Cancel
Save