X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogin.php;h=a4e8b33cd9e1b062d2b2f013fa11a6b2ab861019;hb=4b0abe0ce7fd8c9e2cc8ddf52f76cd4c93a5f279;hp=d47e0579d088f128cc8a6bc367610d243d2c04c3;hpb=5593d4a50ba09b47c99ba5608911d50d99d54f33;p=quix0rs-gnu-social.git diff --git a/actions/login.php b/actions/login.php index d47e0579d0..a4e8b33cd9 100644 --- a/actions/login.php +++ b/actions/login.php @@ -45,6 +45,7 @@ class LoginAction extends Action { } common_real_login(true); if ($this->boolean('rememberme')) { + common_debug('Adding rememberme cookie'); common_rememberme(); } # success! @@ -65,12 +66,12 @@ class LoginAction extends Action { function show_form($error=NULL) { common_show_header(_t('Login'), NULL, $error, array($this, 'show_top')); - common_element_start('form', array('method' => 'POST', + common_element_start('form', array('method' => 'post', 'id' => 'login', 'action' => common_local_url('login'))); common_input('nickname', _t('Nickname')); common_password('password', _t('Password')); - common_checkbox('rememberme', _t('Remember me'), + common_checkbox('rememberme', _t('Remember me'), false, _t('Automatically login in the future; ' . 'not for shared computers!')); common_submit('submit', _t('Login'));