- Cataloghi: pagine, schede, formato
This commit is contained in:
@@ -900,7 +900,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
mydata.repeatPassword = ''
|
||||
mydata.password = String(hashedPassword)
|
||||
|
||||
return Api.SendReq('/updatepwd', 'POST', mydata, true)
|
||||
return Api.SendReq('/updatepwd', 'POST', mydata, true, false, 1)
|
||||
.then((res) => {
|
||||
return { code: res.data.code, msg: res.data.msg }
|
||||
})
|
||||
@@ -1425,7 +1425,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
|
||||
// console.log('executing login...')
|
||||
|
||||
return await Api.SendReq('/users/login', 'POST', usertosend, true)
|
||||
return await Api.SendReq('/users/login', 'POST', usertosend, true, false, 0)
|
||||
.then((res) => {
|
||||
|
||||
myres = res
|
||||
@@ -1867,7 +1867,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
},
|
||||
|
||||
async setCircuitCmd($q: any, t: any, usernameOrig: string, circuitname: string, cmd: number, value: any, extrarec?: any) {
|
||||
return await Api.SendReq('/users/circuits/cmd', 'POST', { usernameOrig, circuitname, cmd, value, extrarec })
|
||||
return await Api.SendReq('/users/circuits/cmd', 'POST', { usernameOrig, circuitname, cmd, value, extrarec }, false, false, 0)
|
||||
.then((res) => {
|
||||
this.updateTables = true
|
||||
const notifStore = useNotifStore()
|
||||
|
||||
Reference in New Issue
Block a user