X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/a034b7a3f5b363f74a47c9f20bfa0cf4f2988b34..621fc2f9638a1a92aa8535310e7852de5542f11e:/login/pass/index.php diff --git a/login/pass/index.php b/login/pass/index.php index 735770a..cd65186 100644 --- a/login/pass/index.php +++ b/login/pass/index.php @@ -13,7 +13,7 @@ if (isset($_GET['token'])) { return TRUE; } } -elseif (!$User) { +elseif (!$User->login) { http_response_code(303); $target = urlencode($_SERVER['REQUEST_URI']); header("Location: /login?goto=$target"); @@ -38,7 +38,7 @@ Hier kun je een nieuwe inlogcode instellen voor Dit zal de huidige code vervangen.

-pass)) { ?> +login and strlen($User->pass)) { ?>