Merge branch 'joey-testing' into 'master'

Fixed login/register and added logout.php

See merge request !68
This commit was merged in pull request #72.
This commit is contained in:
Lars van Hijfte
2017-01-19 13:37:56 +01:00
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`,