summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/login.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/actions/login.php b/actions/login.php
index 89d06ee4d..ae1c7e7af 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -63,10 +63,7 @@ class LoginAction extends Action {
'action' => common_local_url('login')));
common_input('nickname', _t('Nickname'));
common_password('password', _t('Password'));
- common_element('input', array('name' => 'submit',
- 'type' => 'submit',
- 'id' => 'submit',
- 'value' => _t('Login')));
+ common_submit('submit', _t('Login'));
common_element_end('form');
common_show_footer();
}