Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Bugfix: fix unable to change password (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr authored Mar 19, 2022
1 parent 0a472fa commit 523c87c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@node-rs/bcrypt": "^1.6.0",
"@runcitadel/fs": "^1.0.2",
"@runcitadel/lndconnect": "^0.0.55",
"@runcitadel/sdk": "^0.3.3",
"@runcitadel/sdk": "^0.3.4",
"@runcitadel/utils": "^0.9.1",
"aezeed": "^0.0.5",
"cors": "^2.8.5",
Expand Down
1 change: 1 addition & 0 deletions routes/v1/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ router.post(
// Start change password process in the background and immediately return
await authLogic.changePassword(currentPassword, newPassword);
ctx.status = STATUS_CODES.OK;
ctx.body = status;
} catch (error: unknown) {
ctx.throw(typeof error === 'string' ? error : JSON.stringify(error));
}
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ __metadata:
"@node-rs/bcrypt": ^1.6.0
"@runcitadel/fs": ^1.0.2
"@runcitadel/lndconnect": ^0.0.55
"@runcitadel/sdk": ^0.3.3
"@runcitadel/sdk": ^0.3.4
"@runcitadel/utils": ^0.9.1
"@types/ioredis": ^4.28.8
"@types/jsonwebtoken": ^8.5.8
Expand Down Expand Up @@ -369,15 +369,15 @@ __metadata:
languageName: unknown
linkType: soft

"@runcitadel/sdk@npm:^0.3.3":
version: 0.3.3
resolution: "@runcitadel/sdk@npm:0.3.3"
"@runcitadel/sdk@npm:^0.3.4":
version: 0.3.4
resolution: "@runcitadel/sdk@npm:0.3.4"
dependencies:
undici: ^4.14.1
undici: ^4.15.1
peerDependencies:
"@types/react": ^17.0.39
react: ^17.0.2
checksum: 3fbddb297c84a66db19a99c4cad1964dea31cd39814f89c5f95d531ff7100f592553675f4df375008d4064e96f0d905ab1479c1f544b510c6040ef11c2b3bff4
checksum: 23cdfde3594f916f7a4b7d79856915d6ce474a83e1f96e0247767d2b8fcc6b0be4c181ef50cab37b11df8b97ec4601314b1949146c5e0ea833fc54a7b7b59752
languageName: node
linkType: hard

Expand Down Expand Up @@ -6208,7 +6208,7 @@ __metadata:
languageName: node
linkType: hard

"undici@npm:^4.14.1":
"undici@npm:^4.15.1":
version: 4.15.1
resolution: "undici@npm:4.15.1"
checksum: 13b264d4966de105e211e1ca9433e2d8be5fcfe85e4cafea6b97c4685df3364bc8bc9e9b27796ce400e8a1e45e92a65b1453fcb499557e4f5c013af18f194852
Expand Down

0 comments on commit 523c87c

Please sign in to comment.