Release 1.4.14 (#1370)
* New version of cache management (#1365) Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com> * Exit scene acess denied detected (#1369) * Add auth token user to get right in admin and check if user have right Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com> * Update error show Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com> * Update token generation (#1372) - Permit only decode token to get map details, - If user have token expired, set the token to null and reload the page. This feature will be updated when authentication stategy will be finished. Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
45a56c2e02
commit
005a3c5a0d
12 changed files with 96 additions and 16 deletions
|
@ -174,7 +174,7 @@ export class IoSocketController {
|
|||
}
|
||||
|
||||
const tokenData =
|
||||
token && typeof token === "string" ? jwtTokenManager.decodeJWTToken(token) : null;
|
||||
token && typeof token === "string" ? jwtTokenManager.verifyJWTToken(token) : null;
|
||||
const userIdentifier = tokenData ? tokenData.identifier : "";
|
||||
|
||||
let memberTags: string[] = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue