mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-05 05:43:33 +00:00
add some documentation
This commit is contained in:
parent
ab345d428a
commit
ddfa019356
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user