- aggiornamento refreshtoken (parte 1)

- PCB: fix listino
This commit is contained in:
Surya Paolo
2024-04-09 21:57:04 +02:00
parent ae08bc9ad6
commit 62c0f497e5
84 changed files with 317 additions and 301 deletions

View File

@@ -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) {