X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/772961fd4e9be46ad340cad1e55ee5f28cc5b968..2ec9c2255379e0a0a6043bbb129d34900e17c6be:/login/post/index.php
diff --git a/login/post/index.php b/login/post/index.php
index f4c7759..442efef 100644
--- a/login/post/index.php
+++ b/login/post/index.php
@@ -1,4 +1,6 @@
login) {
http_response_code(303);
$target = urlencode($_SERVER['REQUEST_URI']);
@@ -19,16 +21,16 @@ else {
$user = $User;
}
-$Place['login/name'] = $user->name ?: 'bewoner';
-$Place['user'] = $user->login;
+$Page->place['login/name'] = $user->name ?: 'bewoner';
+$Page->place['user'] = $user->login;
if ( $password = trim(@file_get_contents("{$user->dir}/.passwd")) ) {
if (substr($password, 0, 1) == '$') {
$password = NULL; // hashed
}
- $Place['pass'] = htmlspecialchars($password) ?: 'zelf ingesteld';
+ $Page->place['pass'] = htmlspecialchars($password) ?: 'zelf ingesteld';
}
else {
- $Place['pass'] = 'onbekend';
+ $Page->place['pass'] = 'onbekend';
}
print ''."\n";