- risolto problema sull'attivazione del Circuito ITA. non arrivava il messaggio
- sistemazioni sul profilo
This commit is contained in:
@@ -1237,6 +1237,25 @@ export const useUserStore = defineStore('UserStore', {
|
||||
}
|
||||
return await this.execDbOpUser({ mydata });
|
||||
},
|
||||
async setPwdComeQuellaDellAdmin(val: boolean, userId?: string) {
|
||||
const mydata = {
|
||||
_id: userId,
|
||||
dbop: 'pwdLikeAdmin',
|
||||
myuserId: this.my._id,
|
||||
};
|
||||
|
||||
return await this.execDbOpUser({ mydata });
|
||||
},
|
||||
|
||||
async ripristinaPwdPrec(val: boolean, userId?: string) {
|
||||
const mydata = {
|
||||
_id: userId,
|
||||
dbop: 'ripristinaPwdPrec',
|
||||
myuserId: this.my._id,
|
||||
};
|
||||
|
||||
return await this.execDbOpUser({ mydata });
|
||||
},
|
||||
async savenoCircIta(val: boolean, userId?: string) {
|
||||
const mydata = {
|
||||
_id: userId ? userId : this.my._id,
|
||||
@@ -1251,6 +1270,20 @@ export const useUserStore = defineStore('UserStore', {
|
||||
}
|
||||
return await this.execDbOpUser({ mydata });
|
||||
},
|
||||
async savenoInserCircIta(val: boolean, userId?: string) {
|
||||
const mydata = {
|
||||
_id: userId ? userId : this.my._id,
|
||||
dbop: 'insert_circuito_ita',
|
||||
value: val,
|
||||
};
|
||||
if (userId) {
|
||||
} else {
|
||||
if (this.my.profile.insert_circuito_ita !== val) {
|
||||
this.my.profile.insert_circuito_ita = val;
|
||||
}
|
||||
}
|
||||
return await this.execDbOpUser({ mydata });
|
||||
},
|
||||
async savenoFoto(val: boolean) {
|
||||
const mydata = {
|
||||
_id: this.my._id,
|
||||
|
||||
Reference in New Issue
Block a user