18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
|
const { Controller } = require('libflitter')
|
||
|
|
||
|
class PasswordController extends Controller {
|
||
|
static get services() {
|
||
|
return [...super.services, 'Vue']
|
||
|
}
|
||
|
|
||
|
async get_reset(req, res, next) {
|
||
|
return res.page('auth:password:reset', {
|
||
|
...this.Vue.data(),
|
||
|
...this.Vue.session(req),
|
||
|
})
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = exports = PasswordController
|