- controllo della @ sull'username telegram (sugli Eventi)

- controllo email di test, se funzionante o no
This commit is contained in:
Surya Paolo
2025-07-29 12:54:40 +02:00
parent 85db3b4a61
commit 6013a624f6
11 changed files with 137 additions and 65 deletions

View File

@@ -794,7 +794,7 @@ export const useUserStore = defineStore('UserStore', {
return this.my.profile.teleg_id! > 0 || this.my.profile.teleg_id_old! > 0;
},
isUserOk(): boolean {
isUserOk(anchesenonammesso: boolean = false): boolean {
const globalStore = useGlobalStore();
if (
@@ -803,7 +803,7 @@ export const useUserStore = defineStore('UserStore', {
) {
return (
((this.isTelegIdOk() && this.isUsernameTelegOk()) || this.my.verified_email!) &&
this.my.verified_by_aportador!
(anchesenonammesso || this.my.verified_by_aportador!)
);
} else {
//if (tools.getAskToVerifyReg()) {
@@ -813,13 +813,15 @@ export const useUserStore = defineStore('UserStore', {
) {
return (
this.isTelegIdOk() &&
this.my.verified_by_aportador! &&
(anchesenonammesso || this.my.verified_by_aportador!) &&
this.isUsernameTelegOk()
);
} else {
return this.my.verified_email!;
}
}
return false
// return this.my.verified_email! && this.isTelegIdOk() && this.my.verified_by_aportador!
},