Fixed login/register and added logout.php

This commit is contained in:
Joey Lai
2017-01-19 13:11:24 +01:00
parent fddeba821d
commit 049dee6381
10 changed files with 250 additions and 332 deletions

View File

@@ -1,6 +1,6 @@
<?php
function hashPassword() {
function getUser() {
$stmt = $GLOBALS["db"]->prepare("
SELECT
`password`,