add parameter application on api reset password

This commit is contained in:
2025-01-20 09:12:01 +07:00
parent 52cf2a247f
commit 1c08ab2a63
2 changed files with 16 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export class RoutePublic {
app.use(Language.apply);
app.post('/api/login', AuthController.login)
app.put('/api/reset_password/:email', AuthController.resetPassword)
app.put('/api/reset_password/:email/:application', AuthController.resetPassword)
app.put('/api/update_password/:token', AuthController.updatePassword)
app.put('/api/logout/:refresh_token', AuthController.logout)
app.put('/api/renew_token/:refresh_token/:application', AuthController.renewToken)