diff --git a/e107_admin/auth.php b/e107_admin/auth.php
index 9c7e2139e..562bdee0d 100644
--- a/e107_admin/auth.php
+++ b/e107_admin/auth.php
@@ -262,7 +262,7 @@ class auth
}
$text .= "
"
- .$frm->admin_button('authsubmit',ADLAN_91);
+ .$frm->admin_button('authsubmit',ADLAN_91,'login');
if (e107::getSession()->is('challenge') && varset($pref['password_CHAP'], 0))
{
diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index d0b8dabd1..445a94f30 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -1120,6 +1120,7 @@ class e_form
$options['class'] .= 'btn-success';
break;
+ case 'login':
case 'batch':
case 'batch e-hide-if-js': // FIXME hide-js shouldn't be here.
$options['class'] .= 'btn-primary';