mirror of
https://github.com/zadam/trilium.git
synced 2024-11-18 05:35:56 +08:00
11 lines
No EOL
274 B
JavaScript
11 lines
No EOL
274 B
JavaScript
"use strict";
|
|
|
|
const changePasswordService = require('../../services/change_password');
|
|
|
|
async function changePassword(req) {
|
|
return await changePasswordService.changePassword(req.body.current_password, req.body.new_password);
|
|
}
|
|
|
|
module.exports = {
|
|
changePassword
|
|
}; |