Updated all global and local client packages
* Tweaked sessions to be a little more reliable on mobile
This commit is contained in:
1 parent
0bbdda9a2a
commit
8b711ab508
8 files changed
+245
-102
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ export default {
|
||||
|
||||
// console.log(response.headers.remaininguses)
|
||||
//Look at remaining uses of token, if its less than five, request a new one
|
||||
if(response.headers.remaininguses < 10 && !this.fetchingInProgress && !this.blockUntilNextRequest){
|
||||
if(response.headers.remaininguses < 15 && !this.fetchingInProgress && !this.blockUntilNextRequest){
|
||||
this.fetchingInProgress = true
|
||||
const currentToken = localStorage.getItem('loginToken')
|
||||
this.$io.emit('renew_session_token', currentToken)
|
||||
|
||||
Reference in new issue
Block a user