From: Mischa POSLAWSKY Date: Mon, 12 Nov 2018 19:25:33 +0000 (+0100) Subject: login/emulate: describe requested user in page title X-Git-Tag: v3.8~7 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/a4b7bc30be63caf1ec27cac03f30f5b59eb60dc5 login/emulate: describe requested user in page title --- diff --git a/login/emulate/index.php b/login/emulate/index.php index b5c3e69..9d76ebb 100644 --- a/login/emulate/index.php +++ b/login/emulate/index.php @@ -12,6 +12,7 @@ catch (Exception $e) { $Place['login/name'] = $user->name ?: 'bewoner'; $Place['user'] = $user->login; +$Place['title'] = "Login {$user->login}"; if ( $password = trim(@file_get_contents("{$user->dir}/.passwd")) ) { if (substr($password, 0, 1) == '$') { $password = NULL; // hashed