This commit is contained in:
2020-06-17 13:36:57 +00:00
parent f73d7bee40
commit 8d6325ac09

View File

@@ -267,8 +267,21 @@ export default {
auth
.authenticate(vm.input.username, vm.input.password)
.then(() => {
//check if support and updates has expired and show warning if so
if (vm.$store.state.globalSettings.maintenanceExpired) {
/*public enum LicenseStatus
{
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() {
await window.$gz.dialog.displayLTModalNotificationMessage(
"MaintenanceExpiredNote",