CoreID/app/routing/routers/auth/password.routes.js

17 lines
325 B
JavaScript
Raw Permalink Normal View History

2020-05-04 01:16:54 +00:00
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