add some documentation

This commit is contained in:
Uwe Steinmann 2023-05-06 08:37:28 +02:00
parent ab345d428a
commit ddfa019356

View File

@ -327,6 +327,11 @@ function webauthnAuthenticate(key, cb){
echo json_encode($j);
} /* }}} */
/**
* Return challange for login process
*
* This method is quite similar to the one in controllers/class.Login.php
*/
function preparelogin() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
@ -338,6 +343,11 @@ function webauthnAuthenticate(key, cb){
echo json_encode($j);
} /* }}} */
/**
* Do a fake login to check if authentication works
*
* This method is quite similar to the one in controllers/class.Login.php
*/
function login() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];