}
common_real_login(true);
if ($this->boolean('rememberme')) {
+ common_debug('Adding rememberme cookie');
common_rememberme();
}
# success!
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'));