Minor improvements

This commit is contained in:
Jay Trees 2022-02-22 13:18:45 +01:00
parent 37b6bf188c
commit aa551dfe12
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
use wishthis\Page; use wishthis\Page;
$page = new page(__FILE__, 'Login'); $page = new page(__FILE__, 'Login');
if (isset($_POST['email'], $_POST['password'])) { if (isset($_POST['email'], $_POST['password'])) {
$email = $_POST['email']; $email = $_POST['email'];

View file

@ -13,7 +13,7 @@ $page = new page(__FILE__, 'Logout');
if (PHP_SESSION_ACTIVE === session_status()) { if (PHP_SESSION_ACTIVE === session_status()) {
session_destroy(); session_destroy();
header('Location: /?page=logout'); header('Location: /?page=home');
die(); die();
} }

View file

@ -31,7 +31,7 @@ if (isset($_POST['wishlist_delete_id'])) {
<p>Please select a wishlist to view.</p> <p>Please select a wishlist to view.</p>
<div class="field"> <div class="field">
<select class="ui search selection dropdown loading wishlists" name="wishlist"> <select class="ui fluid search selection dropdown loading wishlists" name="wishlist">
<option value="">Loading your wishlists...</option> <option value="">Loading your wishlists...</option>
</select> </select>
</div> </div>