Registrazione senza Telegram
This commit is contained in:
@@ -389,7 +389,13 @@ export const useUserStore = defineStore('UserStore', {
|
||||
},
|
||||
|
||||
isUserOk(): boolean {
|
||||
return this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador! && this.isUsernameTelegOk()
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
if (globalStore.site.confpages.enableRegMultiChoice) {
|
||||
return (this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador! && this.isUsernameTelegOk()) || this.my.verified_email!
|
||||
} else {
|
||||
return this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador! && this.isUsernameTelegOk()
|
||||
}
|
||||
// return this.my.verified_email! && this.my.profile.teleg_id! > 0 && this.my.verified_by_aportador!
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user