mirror of
https://github.com/zadam/trilium.git
synced 2024-11-17 21:21:40 +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
|
|
}; |