mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-14 03:22:47 +00:00
place webauthn login button next to existing login button
This commit is contained in:
parent
ddfa019356
commit
a85c938792
|
|
@ -302,13 +302,11 @@ function webauthnAuthenticate(key, cb){
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
echo '<div class="control-group">';
|
echo '<div class="control-group">';
|
||||||
$this->formSubmit(getMLText('submit_login'));
|
$this->formSubmit(getMLText('submit_login'));
|
||||||
|
$this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
echo '<div class="control-group">';
|
|
||||||
$this->formSubmit(getMLText('submit_webauthn_login'), 'webauthnlogin');
|
|
||||||
echo '</div>';
|
|
||||||
$tmpfoot = array();
|
$tmpfoot = array();
|
||||||
if ($enableguestlogin && $guestid && $dms->getUser((int) $guestid))
|
if ($enableguestlogin && $guestid && $dms->getUser((int) $guestid))
|
||||||
$tmpfoot[] = "<a href=\"\" id=\"guestlogin\">" . getMLText("guest_login") . "</a>\n";
|
$tmpfoot[] = "<a href=\"\" id=\"guestlogin\">" . getMLText("guest_login") . "</a>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user