mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02: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
|
|
};
|