mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-17 15:12:14 +11:00
patch for admin{change user password}
This commit is contained in:
parent
aa05cdadb8
commit
743c997622
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ module.exports = function (fastify, opts, done) {
|
||||||
|
|
||||||
if (new_pass == password2) {
|
if (new_pass == password2) {
|
||||||
try {
|
try {
|
||||||
patch = await got.patch(`${api}user/change_password`, {
|
patch = await got.patch(`${api}admin/user/change_password`, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: req.session.get("b64"),
|
Authorization: req.session.get("b64"),
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue