Aggiornata Chiave Segreta per accesso SIGNCODE.

- Inserito autenticazione MongoDB ai database.
-PCB: Aggiunto altri campi a products
This commit is contained in:
Surya Paolo
2023-12-07 08:34:39 +01:00
parent a0fbddde39
commit 83cc8132d4
19 changed files with 225 additions and 239 deletions

View File

@@ -638,7 +638,7 @@ export const useUserStore = defineStore('UserStore', {
isUserOk(): boolean {
const globalStore = useGlobalStore()
if (globalStore.site.confpages.enableRegMultiChoice) {
if (globalStore.site.confpages && globalStore.site.confpages.enableRegMultiChoice) {
return ((this.isTelegIdOk() && this.isUsernameTelegOk()) || this.my.verified_email!) && this.my.verified_by_aportador!
} else {
return this.isTelegIdOk() && this.my.verified_by_aportador! && this.isUsernameTelegOk()