- 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

@@ -134,6 +134,20 @@
})
"
></q-btn>
<q-btn
label="Esporta INFOPRODUCT campi extra (sinossi, ecc)"
color="primary"
@click="
EseguiFunz('EsportaInfoProductExtra')
"
></q-btn>
<q-btn
label="Importa INFOPRODUCT campi extra (sinossi, ecc)"
color="primary"
@click="
EseguiFunz('ImportaInfoProductExtra')
"
></q-btn>
<!--
<q-btn

View File

@@ -64,14 +64,14 @@ export default defineComponent({
})
.onOk(() => {
globalStore.DeleteRec({ table: toolsext.TABUSER, id: userStore.my._id })
.then((ris: any) => {
.then(async (ris: any) => {
if (ris) {
tools.showPositiveNotif($q, t('reg.account_cancellato'))
userStore.logout()
$router.replace('/')
} else
tools.showNegativeNotif($q, t('db.recfailed'))
await tools.showPositiveNotif($q, t('reg.account_cancellato'))
await userStore.logout()
await $router.replace('/')
} else {
await tools.showNegativeNotif($q, t('db.recfailed'))
}
})
})
})

View File

@@ -69,10 +69,10 @@ export default defineComponent({
})
.onOk(() => {
globalStore.DeleteRec({ table: toolsext.TABUSER, id: userStore.my._id })
.then((ris: any) => {
.then(async (ris: any) => {
if (ris) {
tools.showPositiveNotif($q, t('reg.account_cancellato'))
userStore.logout()
await userStore.logout()
$router.replace('/')
} else
tools.showNegativeNotif($q, t('db.recfailed'))

View File

@@ -57,10 +57,10 @@ export default defineComponent({
})
.onOk(() => {
globalStore.DeleteRec({ table: toolsext.TABUSER, id: userStore.my._id })
.then((ris: any) => {
.then(async (ris: any) => {
if (ris) {
tools.showPositiveNotif($q, t('reg.account_cancellato'))
userStore.logout()
await userStore.logout()
$router.replace('/')
} else
tools.showNegativeNotif($q, t('db.recfailed'))