17 lines
325 B
JavaScript
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
|