SAML; Dashboard
This commit is contained in:
16
app/controllers/dash/Profile.controller.js
Normal file
16
app/controllers/dash/Profile.controller.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const { Controller } = require('libflitter')
|
||||
|
||||
class ProfileController extends Controller {
|
||||
static get services() {
|
||||
return [...super.services, 'Vue']
|
||||
}
|
||||
|
||||
async get_page(req, res, next) {
|
||||
return res.page('dash:profile:main', {
|
||||
...this.Vue.data(),
|
||||
...this.Vue.session(req)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = exports = ProfileController
|
||||
Reference in New Issue
Block a user