This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user