aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-05-22 20:06:40 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-06-12 15:12:24 +0200
commit0a818191c1a282768049ecb8f65180a75594afc1 (patch)
tree3bd95a3e000681a23355ef71491f41105d5c8f39
parentc7ec3159ead30c2306a84d060ecc63e60e5c9084 (diff)
downloadvolse-hubzilla-0a818191c1a282768049ecb8f65180a75594afc1.tar.gz
volse-hubzilla-0a818191c1a282768049ecb8f65180a75594afc1.tar.bz2
volse-hubzilla-0a818191c1a282768049ecb8f65180a75594afc1.zip
boot/login: Pass all expected args to sub templates.
-rw-r--r--boot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index d8b2953e8..372c26763 100644
--- a/boot.php
+++ b/boot.php
@@ -1758,9 +1758,9 @@ function login($register = false, $form_id = 'main_login', $hiddens = false, $lo
'$login' => t('Login'),
'$remote_login' => t('Remote Authentication'),
'$form_id' => $form_id,
- '$lname' => [$form_id . '_username', $lname_label],
- '$lpassword' => [$form_id . '_password', t('Password')],
- '$remember_me' => [$form_id . '_remember', t('Remember me'), '', '', [t('No'), t('Yes')]],
+ '$lname' => [$form_id . '_username', $lname_label, null, null, null, null],
+ '$lpassword' => [$form_id . '_password', t('Password'), null, null, null, null],
+ '$remember_me' => [$form_id . '_remember', t('Remember me'), '', '', [t('No'), t('Yes')], null, null],
'$hiddens' => $hiddens,
'$register' => $reg,
'$lostpass' => t('Forgot your password?'),