mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 17:16:01 +00:00
loginchecker placeholder
This commit is contained in:
15
packages/api/src/utility/loginchecker.js
Normal file
15
packages/api/src/utility/loginchecker.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// only in DbGate Premium
|
||||||
|
|
||||||
|
function markUserAsActive(licenseUid) {}
|
||||||
|
|
||||||
|
async function isLoginLicensed(req, licenseUid) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
const LOGIN_LIMIT_ERROR = '';
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
markUserAsActive,
|
||||||
|
isLoginLicensed,
|
||||||
|
LOGIN_LIMIT_ERROR,
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user