Commit bad50610 authored by Jarrod's avatar Jarrod 💬

Fix thing; add verbose loggin

parent 7b4bc843
Pipeline #1329 passed with stages
in 50 seconds
......@@ -71,7 +71,8 @@ module.exports = class SailsPluggable {
if (!def.action) { return }
if (def.auth || def.permission) {
sails.registerActionMiddleware(permissionsMiddleware, key)
sails.log.verbose('Initializing permissions middleare for ', path)
sails.registerActionMiddleware(permissionsMiddleware, def.action)
}
if (def.cache) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment