Some optional code paths broken by commit
v3.9-8-g882347cba8 (2019-06-28)
[auth: store global user metadata in User object].
$cols = [
'username' => [
'label' => 'login',
- 'value' => $user['name'],
+ 'value' => $user->login,
'target' => NULL,
'attr' => [
'pattern' => "[a-z0-9-]+",
],
];
-if (isset($user['pass'])) {
+if (isset($user->pass)) {
$cols['newpass'] = [
'label' => 'wachtwoord',
'input' => <<<'EOT'
print "\t";
printf('<li><label for="%s">%s:</label>', $col, ucfirst($colconf['label']));
if (@$colconf['type'] == 'file' and isset($colconf['value'])) {
- $target = $user['dir'] . '/' . $colconf['filename'];
+ $target = $user->dir . '/' . $colconf['filename'];
printf('<a href="/%s"><img src="/thumb/%s/%s?%s" /></a><br />',
$target,
200, $target, filemtime($target)