This commit is contained in:
2018-11-13 23:56:20 +00:00
parent 3bb38b795c
commit 39be03947e

View File

@@ -9,7 +9,7 @@ export default new Vuex.Store({
state: {
authenticated: false,
apiUrl: "http://localhost:7575/api/v8.0/",
apiToken: "NOT-AUTHENTICATED",
apiToken: "-",
userId: 0,
roles: 0,
localeText: {},
@@ -24,7 +24,7 @@ export default new Vuex.Store({
state.apiToken = data.apiToken;
},
logout(state) {
state.apiToken = "NOT-AUTHENTICATED";
state.apiToken = "-";
state.authenticated = false;
state.userId = 0;
state.roles = 0;