mirror of
https://github.com/zadam/trilium.git
synced 2024-09-29 12:05:58 +08:00
12 lines
263 B
JavaScript
12 lines
263 B
JavaScript
"use strict";
|
|
|
|
const changePasswordService = require('../../services/change_password');
|
|
|
|
function changePassword(req) {
|
|
return changePasswordService.changePassword(req.body.current_password, req.body.new_password);
|
|
}
|
|
|
|
module.exports = {
|
|
changePassword
|
|
};
|