[lib.authentication] updated time range to 15min
This commit is contained in:
parent
7ac0f0e487
commit
4f33a1d5a3
|
@ -10,7 +10,7 @@ export default class Authentication{
|
||||||
constructor(){
|
constructor(){
|
||||||
|
|
||||||
/* (1) Default localStorage Interface */
|
/* (1) Default localStorage Interface */
|
||||||
this.lsi = new LocalStorageInterface('__auth__', 5*60);
|
this.lsi = new LocalStorageInterface('__auth__', 15*60);
|
||||||
|
|
||||||
/* (2) Update token */
|
/* (2) Update token */
|
||||||
if( this.token !== null && this.user !== null ){
|
if( this.token !== null && this.user !== null ){
|
||||||
|
|
Loading…
Reference in New Issue