Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
64703dc9
Commit
64703dc9
authored
Apr 02, 2021
by
Diego Molteni
Browse files
fix cache
parent
befa7576
Pipeline
#34358
passed with stages
in 6 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/auth/auth.ts
View file @
64703dc9
...
...
@@ -26,7 +26,7 @@ import { AuthGroups } from './groups';
export
class
Auth
{
private
static
_cache
:
Cache
<
boolean
>
;
private
static
_cacheItemTTL
=
360
0
;
// cache item expire after
private
static
_cacheItemTTL
=
6
0
;
// cache item expire after
public
static
async
isUserRegistered
(
userToken
:
string
,
esd
:
string
,
appkey
:
string
)
{
await
AuthGroups
.
getUserGroups
(
userToken
,
esd
,
appkey
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment