change: request method for account credential change

This commit is contained in:
Julian Krauser 2025-05-07 08:27:48 +02:00
parent 8ead7386ca
commit 9dd7686b67

View file

@ -34,15 +34,15 @@ router.post("/verify", async (req, res) => {
await verifyMyTotp(req, res);
});
router.post("/changepw", async (req, res) => {
router.patch("/changepw", async (req, res) => {
await changeMyPassword(req, res);
});
router.post("/changeToTOTP", async (req, res) => {
router.patch("/changeToTOTP", async (req, res) => {
await changeToTOTP(req, res);
});
router.post("/changeToPW", async (req, res) => {
router.patch("/changeToPW", async (req, res) => {
await changeToPW(req, res);
});