diff --git a/views/bootstrap/class.Login.php b/views/bootstrap/class.Login.php
index c3d64f615..f3f12a6d0 100644
--- a/views/bootstrap/class.Login.php
+++ b/views/bootstrap/class.Login.php
@@ -302,13 +302,11 @@ function webauthnAuthenticate(key, cb){
$this->contentContainerEnd();
echo '
';
$this->formSubmit(getMLText('submit_login'));
+ $this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
echo '
';
?>
';
- $this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
- echo '';
$tmpfoot = array();
if ($enableguestlogin && $guestid && $dms->getUser((int) $guestid))
$tmpfoot[] = "" . getMLText("guest_login") . "\n";