Registrazione senza Telegram
This commit is contained in:
@@ -4999,6 +4999,9 @@ export const tools = {
|
||||
isVerified(): boolean {
|
||||
const globalStore = useGlobalStore()
|
||||
const site = globalStore.site
|
||||
if (site.confpages.enableRegMultiChoice) {
|
||||
return tools.TelegVerificato() || this.isEmailVerified()
|
||||
}
|
||||
|
||||
if (site.confpages.enabledRegNeedTelegram) {
|
||||
return tools.TelegVerificato()
|
||||
@@ -5010,7 +5013,8 @@ export const tools = {
|
||||
|
||||
Verificato() {
|
||||
const userStore = useUserStore()
|
||||
return this.isVerified() && userStore.my.verified_by_aportador
|
||||
const globalStore = useGlobalStore()
|
||||
return this.isVerified() && (userStore.my.verified_by_aportador || globalStore.site.confpages.enableRegMultiChoice)
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user