- asggiunto bottone "installa app" sulla email di conferma registrazione e anche la Guida "/guida".

- migliorato InvitaAmico
This commit is contained in:
Surya Paolo
2025-11-19 11:39:36 +01:00
parent 05a3617103
commit 57436f088b
25 changed files with 270 additions and 113 deletions

View File

@@ -165,11 +165,10 @@ export const Api = {
} else {
// Se il refresh token fallisce, logout dell'utente
// userStore.setAuth('', '');
const $router = useRouter();
throw { code: toolsext.ERR_RETRY_LOGIN };
}
} catch (err2) {
console.error('Errore durante il refresh token:', err2);
console.error('Errore durante il check Token Scaduto:', err2);
let mystatus = err2?.code || err2?.status;
@@ -192,7 +191,6 @@ export const Api = {
// || statuscode2 === serv_constants.RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN
) {
userStore.setAuth('', '');
const $router = useRouter();
throw { status: toolsext.ERR_RETRY_LOGIN };
}