- aggiornamento refreshtoken (parte 1)
- PCB: fix listino
This commit is contained in:
@@ -4396,7 +4396,7 @@ export const tools = {
|
||||
},
|
||||
getheaders() {
|
||||
const userStore = useUserStore()
|
||||
return [{ name: 'x-auth', value: userStore.x_auth_token }]
|
||||
return [{ name: 'x-auth', value: userStore.x_auth_token }, { name: 'x-refrTok', value: userStore.refreshToken }]
|
||||
},
|
||||
|
||||
getextfile(filename: string) {
|
||||
@@ -8510,8 +8510,12 @@ export const tools = {
|
||||
},
|
||||
|
||||
getInvitante() {
|
||||
const invitante = tools.getCookie(tools.APORTADOR_SOLIDARIO)
|
||||
return invitante ? invitante : ''
|
||||
try {
|
||||
const invitante = tools.getCookie(tools.APORTADOR_SOLIDARIO, '')
|
||||
return invitante ? invitante : ''
|
||||
} catch (e) {
|
||||
return ''
|
||||
}
|
||||
},
|
||||
|
||||
contieneSlash(str: string) {
|
||||
|
||||
Reference in New Issue
Block a user