projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
15768: standardized naming Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados.git]
/
src
/
store
/
auth
/
auth-action-session.ts
diff --git
a/src/store/auth/auth-action-session.ts
b/src/store/auth/auth-action-session.ts
index 2712f136113e4c9ad3b6a2c880c91d4ec7d4dff1..7e81f2d952ebed3bf81353a4e6a6e2518a91044d 100644
(file)
--- a/
src/store/auth/auth-action-session.ts
+++ b/
src/store/auth/auth-action-session.ts
@@
-99,7
+99,7
@@
export const getSaltedToken = (clusterId: string, token: string) => {
throw new Error(invalidV2Token);
}
let salted = secret;
- if (uuid.substr(0, 5) !== clusterId) {
+ if (uuid.substr
ing
(0, 5) !== clusterId) {
shaObj.setHMACKey(secret, "TEXT");
shaObj.update(clusterId);
salted = shaObj.getHMAC("HEX");