CoreID/app/routing/routers/auth/password.routes.js
2020-05-03 20:16:54 -05:00

17 lines
325 B
JavaScript

const password_routes = {
prefix: '/password',
middleware: [
'auth:UserOnly',
],
get: {
'/reset': [
['middleware::auth:RequireTrust', { scope: 'password.reset' }],
'controller::auth:Password.get_reset',
],
},
}
module.exports = exports = password_routes