license lockout handling code for when db has more active users than license allows for
This commit is contained in:
@@ -25,6 +25,7 @@ export default new Vuex.Store({
|
||||
helpUrl: "",
|
||||
apiToken: "-",
|
||||
downloadToken: "-",
|
||||
l: false, //license lockout flag
|
||||
tfaEnabled: undefined,
|
||||
customerRights: {},
|
||||
userId: 0,
|
||||
@@ -103,6 +104,7 @@ export default new Vuex.Store({
|
||||
state.userName = data.userName;
|
||||
state.userType = data.userType;
|
||||
state.downloadToken = data.dlt;
|
||||
state.l = data.l;
|
||||
state.tfaEnabled = data.tfaEnabled;
|
||||
if (data.customerRights) {
|
||||
state.customerRights = data.customerRights;
|
||||
@@ -112,6 +114,7 @@ export default new Vuex.Store({
|
||||
//Things that are reset on logout
|
||||
state.apiToken = "-";
|
||||
state.downloadToken = "-";
|
||||
state.l = false;
|
||||
state.tfaEnabled = undefined;
|
||||
state.customerRights = {};
|
||||
state.authenticated = false;
|
||||
|
||||
Reference in New Issue
Block a user