change: request method for account credential change
This commit is contained in:
parent
8ead7386ca
commit
9dd7686b67
1 changed files with 3 additions and 3 deletions
|
@ -34,15 +34,15 @@ router.post("/verify", async (req, res) => {
|
||||||
await verifyMyTotp(req, res);
|
await verifyMyTotp(req, res);
|
||||||
});
|
});
|
||||||
|
|
||||||
router.post("/changepw", async (req, res) => {
|
router.patch("/changepw", async (req, res) => {
|
||||||
await changeMyPassword(req, res);
|
await changeMyPassword(req, res);
|
||||||
});
|
});
|
||||||
|
|
||||||
router.post("/changeToTOTP", async (req, res) => {
|
router.patch("/changeToTOTP", async (req, res) => {
|
||||||
await changeToTOTP(req, res);
|
await changeToTOTP(req, res);
|
||||||
});
|
});
|
||||||
|
|
||||||
router.post("/changeToPW", async (req, res) => {
|
router.patch("/changeToPW", async (req, res) => {
|
||||||
await changeToPW(req, res);
|
await changeToPW(req, res);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue