mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 02:42:27 +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
|
|
};
|