From: Mischa POSLAWSKY Date: Sat, 7 Jul 2018 23:23:00 +0000 (+0200) Subject: login: avoid editor conflict with login post X-Git-Tag: v3.5~24 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/673a406772bf862c3cfc99ebfff5b96582a13959 login: avoid editor conflict with login post Rename username variable to avoid triggering [index] authentication. With this form element, the welcome message is now superfluous. --- diff --git a/login/edit.php b/login/edit.php index 31d4d20..36058be 100644 --- a/login/edit.php +++ b/login/edit.php @@ -45,7 +45,7 @@ foreach ($cols as $col => &$colconf) { } $cols = [ - 'login' => [ + 'username' => [ 'label' => 'login', 'value' => $user['name'], 'target' => NULL, diff --git a/login/index.html b/login/index.html index bd2560e..c8700aa 100644 --- a/login/index.html +++ b/login/index.html @@ -1,7 +1,5 @@

Ingelogd

-

Ingelogd als [[user]].

- [[login/edit]]