- corretto problema ROGNOSO : Risolvere la questione "Sessioni multiple", se apro 2 browser l'ultimo va a cancellare il precedente, e mi da errore di email non valida !

Il problema era sulla fetch nel service worker, gestita in quel modo personalizzato, andava in conflitto, non tenendo le chiamate bloccanti, ma uscivano prima che arrivasse la risposta del server.
- Per chi è da tanto che non si collega a RISO, compare "Email non verificata"... (si risolve chiudendo su ESCI e riloggandosi)... però andrebbe sistemata.
(stesso problema di prima).
This commit is contained in:
Surya Paolo
2025-10-26 02:47:59 +02:00
parent eb0fb72c70
commit df98ec9471
64 changed files with 1286 additions and 704 deletions

View File

@@ -2223,18 +2223,18 @@ export const useGlobalStore = defineStore('GlobalStore', {
if (isLogged) {
// Fai Logout
// console.log('Fai Logout', 'isLogged', isLogged)
userStore.logout();
await userStore.logout();
this.rightDrawerOpen = true;
return false;
return { ris: false, status };
} else {
console.log('NON SONO LOGGATO... MYUSER NON TORNATO dal SRV');
const token = localStorage.getItem(toolsext.localStorage.token);
if (token) {
console.log('Sbianca cmq i dati');
// Sbianca cmq i dati
userStore.logout();
await userStore.logout();
this.rightDrawerOpen = true;
return false;
return { ris: false, status };
}
}
}
@@ -2444,6 +2444,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
username: userStore.my.username,
};
console.log('getStatSite')
return Api.SendReq('/site/load', 'POST', paramquery)
.then((res) => {
// console.log('datastat', res)