loulin
loulin
For example, I have different Github configs defined in env/development.js and env/production.js. The following setting will not work because sails is not initialised then. ``` js // config/passport.js var _...
[api/services/passport.js#L146](https://github.com/tjwebb/sails-auth/blob/master/api/services/passport.js#L146) ``` js // If the tokens have changed since the last session, update them if (query.hasOwnProperty('tokens') && query.tokens !== passport.tokens) { passport.tokens = query.tokens; } ``` `query.tokens !== passport.tokens`...
If global “deny” or “allow” defined but not passed, and there isn’t any activity validator followed, just go to notAuthorized.
keep up with commit [@umi/openapi](https://github.com/chenshuai2144/openapi2typescript/pull/43/commits/0262f8d2c83770e8a7a3f38d3c59f945a16f8aab)