This commit is contained in:
@@ -267,8 +267,21 @@ export default {
|
|||||||
auth
|
auth
|
||||||
.authenticate(vm.input.username, vm.input.password)
|
.authenticate(vm.input.username, vm.input.password)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
//check if support and updates has expired and show warning if so
|
/*public enum LicenseStatus
|
||||||
if (vm.$store.state.globalSettings.maintenanceExpired) {
|
{
|
||||||
|
NONE = 0,//fast track
|
||||||
|
ActiveTrial = 1,//slow track
|
||||||
|
ExpiredTrial = 2,//fast track
|
||||||
|
ActivePurchased = 3,//slow track
|
||||||
|
ExpiredPurchased = 4,//fast track
|
||||||
|
Revoked = 5//slow track
|
||||||
|
} */
|
||||||
|
//check if support and updates has expired and is paid for license and show warning if so
|
||||||
|
if (
|
||||||
|
vm.$store.state.globalSettings.maintenanceExpired &&
|
||||||
|
(vm.$store.state.globalSettings.licenseStatus == 3 ||
|
||||||
|
vm.$store.state.globalSettings.licenseStatus == 4)
|
||||||
|
) {
|
||||||
(async function() {
|
(async function() {
|
||||||
await window.$gz.dialog.displayLTModalNotificationMessage(
|
await window.$gz.dialog.displayLTModalNotificationMessage(
|
||||||
"MaintenanceExpiredNote",
|
"MaintenanceExpiredNote",
|
||||||
|
|||||||
Reference in New Issue
Block a user