Files
pics/models/pages/changepassword.js

17 lines
301 B
JavaScript

'use strict';
const { buildChangePassword } = require(__dirname+'/../../lib/build/tasks.js');
module.exports = async (req, res, next) => {
let html;
try {
html = await buildChangePassword();
} catch (err) {
return next(err);
}
return res.set('Cache-Control', 'max-age=0').send(html);
};