git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
login/edit: remaining access from user object
[minimedit.git]
/
login
/
edit.inc.php
diff --git
a/login/edit.inc.php
b/login/edit.inc.php
index 77bfc9b5bd246df94271defa965a27a992841265..f2bd27b3e784bd2c96140b4923fb43882b327184 100644
(file)
--- a/
login/edit.inc.php
+++ b/
login/edit.inc.php
@@
-2,7
+2,7
@@
$cols = [
'username' => [
'label' => 'login',
$cols = [
'username' => [
'label' => 'login',
- 'value' => $user
['name']
,
+ 'value' => $user
->login
,
'target' => NULL,
'attr' => [
'pattern' => "[a-z0-9-]+",
'target' => NULL,
'attr' => [
'pattern' => "[a-z0-9-]+",
@@
-39,7
+39,7
@@
$cols = [
],
];
],
];
-if (isset($user
['pass']
)) {
+if (isset($user
->pass
)) {
$cols['newpass'] = [
'label' => 'wachtwoord',
'input' => <<<'EOT'
$cols['newpass'] = [
'label' => 'wachtwoord',
'input' => <<<'EOT'