login: avoid editor conflict with login post
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 7 Jul 2018 23:23:00 +0000 (01:23 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 8 Jul 2018 03:22:19 +0000 (05:22 +0200)
Rename username variable to avoid triggering [index] authentication.
With this form element, the welcome message is now superfluous.

login/edit.php
login/index.html

index 31d4d20875de16661d71cd517701715a5a7baef2..36058be29af2221ffbc108ad76a4e628d5a6963f 100644 (file)
@@ -45,7 +45,7 @@ foreach ($cols as $col => &$colconf) {
 }
 
 $cols = [
-       'login' => [
+       'username' => [
                'label' => 'login',
                'value' => $user['name'],
                'target' => NULL,
index bd2560e68cefa3bf8882cf31d0fa221c885ea1ab..c8700aa62d9e1ba6853eceaf72e8386520853cd2 100644 (file)
@@ -1,7 +1,5 @@
 <h2>Ingelogd</h2>
 
-<p>Ingelogd als <em>[[user]]</em>.</p>
-
 [[login/edit]]
 
 <p class="nav"><a href="?logout">Uitloggen</a></p>