mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 16:26:00 +00:00
SYNC: fixed trial scenario
This commit is contained in:
committed by
Diflow
parent
bda5c4f5dd
commit
7474cc5d8a
@@ -32,7 +32,7 @@
|
|||||||
// $: console.log('CONFIG', $config);
|
// $: console.log('CONFIG', $config);
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
if ($config?.isLicenseValid) {
|
if ($config?.isLicenseValid && trialDaysLeft == null) {
|
||||||
internalRedirectTo(isOneOfPage('admin-license') ? '/admin.html' : '/index.html');
|
internalRedirectTo(isOneOfPage('admin-license') ? '/admin.html' : '/index.html');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user