mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-22 22:40:56 -04:00
Generated documentation :)
This commit is contained in:
parent
5df34cd137
commit
f55350bebc
11 changed files with 234 additions and 1 deletions
|
@ -30,6 +30,13 @@ exports.login = async function (username, password) {
|
|||
return null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A function that checks if a user is logged in.
|
||||
* @param {string} username The username of the user to check for.
|
||||
* @param {function} callback The callback to call when done, with an error and result parameter.
|
||||
*
|
||||
* Generated by Trelent
|
||||
*/
|
||||
function myAuthorizer(username, password, callback) {
|
||||
setting("disableAuth").then((result) => {
|
||||
if (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue