aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-08 11:24:21 -0800
committerzotlabs <mike@macgirvin.com>2017-02-08 11:24:21 -0800
commit28f083323750e3083c5ba07f685d30b44e1d2482 (patch)
tree23fc156fd8191346b25f365d6baa5519afeabaa5 /boot.php
parent6ceaea8478a08e8f2a5fc10f085a99331cbef36f (diff)
downloadvolse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.tar.gz
volse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.tar.bz2
volse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.zip
fix immediate issue with multiple login forms until I can figure out an elegant way to "popup" the modal login form already on the page. We still may need this fix for the actual login module which should always be callable and present a login form even if the nav is completely borked.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index e42c41546..127a45065 100755
--- a/boot.php
+++ b/boot.php
@@ -1709,7 +1709,7 @@ function login($register = false, $form_id = 'main-login', $hiddens=false, $logi
$reglink = 'register';
$reg = array(
- 'title' => t('Create an account to access services and applications within the Hubzilla'),
+ 'title' => t('Create an account to access services and applications'),
'desc' => t('Register'),
'link' => (($register) ? $reglink : 'pubsites')
);
@@ -1733,7 +1733,7 @@ function login($register = false, $form_id = 'main-login', $hiddens=false, $logi
'$form_id' => $form_id,
'$lname' => array('username', t('Login/Email') , '', ''),
'$lpassword' => array('password', t('Password'), '', ''),
- '$remember_me' => array('remember_me', t('Remember me'), '', '',array(t('No'),t('Yes'))),
+ '$remember_me' => array((($login_page) ? 'remember' : 'remember_me'), t('Remember me'), '', '',array(t('No'),t('Yes'))),
'$hiddens' => $hiddens,
'$register' => $reg,
'$lostpass' => t('Forgot your password?'),