Updated things, all ok except bug in v-text-field that was reported

This commit is contained in:
2020-10-21 23:52:23 +00:00
parent ab7dc1c378
commit ac94065e94
7 changed files with 78 additions and 51 deletions

View File

@@ -1,5 +1,6 @@
/* xeslint-disable */
import decode from "jwt-decode";
//import decode from "jwt-decode";
import jwt_decode from "jwt-decode";
import initialize from "./initialize";
import notifypoll from "./notifypoll";
@@ -20,7 +21,7 @@ export function processLogin(authResponse, loggedInWithKnownPassword) {
);
return reject();
}
const token = decode(authResponse.token);
const token = jwt_decode(authResponse.token);
if (!token || !token.iss) {
window.$gz.store.commit(
@@ -111,7 +112,7 @@ export function isLoggedIn() {
}
function getTokenExpirationDate(encodedToken) {
const token = decode(encodedToken);
const token = jwt_decode(encodedToken);
if (!token.exp) {
return null;
}

View File

@@ -1,4 +1,4 @@
export default {
version: "8.0.0-alpha.84",
version: "8.0.0-alpha.86",
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
};