mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 22:07:01 +08:00
Merge manually
This commit is contained in:
@@ -87,6 +87,12 @@ function question(question) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnect all socket clients of the user
|
||||
* @param {string} username Username
|
||||
* @param {string} password Password
|
||||
* @returns {Promise<void>} Promise
|
||||
*/
|
||||
function disconnectAllSocketClients(username, password) {
|
||||
return new Promise((resolve) => {
|
||||
console.log("Connecting to " + localWebSocketURL + " to disconnect all other socket clients");
|
||||
|
Reference in New Issue
Block a user