mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
login checker dummy implementation
This commit is contained in:
@@ -41,6 +41,4 @@ module.exports = {
|
|||||||
async getUsedEngines() {
|
async getUsedEngines() {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
|
|
||||||
markUserAsActive(licenseUid) {},
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user