patch for admin{change user password}

This commit is contained in:
Expand-sys 2021-10-29 12:04:08 +11:00
parent aa05cdadb8
commit 743c997622

View file

@ -192,7 +192,7 @@ module.exports = function (fastify, opts, done) {
if (new_pass == password2) {
try {
patch = await got.patch(`${api}user/change_password`, {
patch = await got.patch(`${api}admin/user/change_password`, {
headers: {
Authorization: req.session.get("b64"),
Accept: "application/json",