Add Model.requireToken for disabling token requirement
This commit is contained in:
parent
4c69af5ae2
commit
bc27f07472
|
@ -188,6 +188,7 @@ app.enableAuth = function() {
|
|||
);
|
||||
} else if(
|
||||
Model.requireToken === false ||
|
||||
Model.settings.requireToken === false ||
|
||||
method.fn && method.fn.requireToken === false
|
||||
) {
|
||||
next();
|
||||
|
|
Loading…
Reference in New Issue