mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 22:36:01 +00:00
login checker dummy implementation
This commit is contained in:
@@ -41,6 +41,4 @@ module.exports = {
|
||||
async getUsedEngines() {
|
||||
return null;
|
||||
},
|
||||
|
||||
markUserAsActive(licenseUid) {},
|
||||
};
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
// only in DbGate Premium
|
||||
|
||||
function markUserAsActive(licenseUid) {}
|
||||
function markUserAsActive(licenseUid, token) {}
|
||||
|
||||
async function isLoginLicensed(req, licenseUid) {
|
||||
return true;
|
||||
}
|
||||
|
||||
function markLoginAsLoggedOut(licenseUid) {}
|
||||
|
||||
const LOGIN_LIMIT_ERROR = '';
|
||||
|
||||
module.exports = {
|
||||
markUserAsActive,
|
||||
isLoginLicensed,
|
||||
markLoginAsLoggedOut,
|
||||
LOGIN_LIMIT_ERROR,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user