trilium/src/routes/api/password.js

11 lines
285 B
JavaScript
Raw Normal View History

2017-10-22 09:10:33 +08:00
"use strict";
const changePasswordService = require('../../services/change_password');
async function changePassword(req) {
return await changePasswordService.changePassword(req.body['current_password'], req.body['new_password'], req);
}
module.exports = {
changePassword
};