Hide content actions when not creator. Adds token introspection in authStore.

This commit is contained in:
2024-08-17 01:27:44 -04:00
parent 3b003fa1a1
commit 0b288ee1dc
4 changed files with 35 additions and 6 deletions

10
package-lock.json generated
View File

@@ -13,6 +13,7 @@
"@vueuse/core": "^10.11.0",
"@xtiannyeto/vue-auth-social": "^0.1.9",
"axios": "^1.6.7",
"jwt-decode": "^4.0.0",
"pinia": "^2.1.7",
"uuid": "^10.0.0",
"vue": "^3.4.15",
@@ -2630,6 +2631,15 @@
"safe-buffer": "^5.0.1"
}
},
"node_modules/jwt-decode": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz",
"integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==",
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/keyv": {
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",