- asggiunto bottone "installa app" sulla email di conferma registrazione e anche la Guida "/guida".
- migliorato InvitaAmico
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user