Commit 64703dc9 authored by Diego Molteni's avatar Diego Molteni
Browse files

fix cache

parent befa7576
Pipeline #34358 passed with stages
in 6 minutes and 45 seconds
......@@ -26,7 +26,7 @@ import { AuthGroups } from './groups';
export class Auth {
private static _cache: Cache<boolean>;
private static _cacheItemTTL = 3600; // cache item expire after
private static _cacheItemTTL = 60; // cache item expire after
public static async isUserRegistered(userToken: string, esd: string, appkey: string) {
await AuthGroups.getUserGroups(userToken, esd, appkey);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment