login checker dummy implementation

This commit is contained in:
SPRINX0\prochazka
2025-07-14 15:23:06 +02:00
parent a38ad5a11e
commit cd5717169c
2 changed files with 4 additions and 3 deletions

View File

@@ -41,6 +41,4 @@ module.exports = {
async getUsedEngines() { async getUsedEngines() {
return null; return null;
}, },
markUserAsActive(licenseUid) {},
}; };

View File

@@ -1,15 +1,18 @@
// only in DbGate Premium // only in DbGate Premium
function markUserAsActive(licenseUid) {} function markUserAsActive(licenseUid, token) {}
async function isLoginLicensed(req, licenseUid) { async function isLoginLicensed(req, licenseUid) {
return true; return true;
} }
function markLoginAsLoggedOut(licenseUid) {}
const LOGIN_LIMIT_ERROR = ''; const LOGIN_LIMIT_ERROR = '';
module.exports = { module.exports = {
markUserAsActive, markUserAsActive,
isLoginLicensed, isLoginLicensed,
markLoginAsLoggedOut,
LOGIN_LIMIT_ERROR, LOGIN_LIMIT_ERROR,
}; };