place webauthn login button next to existing login button

This commit is contained in:
Uwe Steinmann 2023-05-06 09:04:26 +02:00
parent ddfa019356
commit a85c938792

View File

@ -302,13 +302,11 @@ function webauthnAuthenticate(key, cb){
$this->contentContainerEnd();
echo '<div class="control-group">';
$this->formSubmit(getMLText('submit_login'));
$this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
echo '</div>';
?>
</form>
<?php
echo '<div class="control-group">';
$this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
echo '</div>';
$tmpfoot = array();
if ($enableguestlogin && $guestid && $dms->getUser((int) $guestid))
$tmpfoot[] = "<a href=\"\" id=\"guestlogin\">" . getMLText("guest_login") . "</a>\n";