Feat: Refresh login token for the client initiating password change (#4214)

This commit is contained in:
Nelson Chan 2023-12-18 19:52:49 +08:00 committed by GitHub
parent 996ff28ed9
commit c9fe6b5d01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View file

@ -1270,6 +1270,7 @@ let needSetup = false;
callback({
ok: true,
token: User.createJWT(user, server.jwtSecret),
msg: "successAuthChangePassword",
msgi18n: true,
});