Uh oh!
There was an error while loading. Please reload this page.
Enable "logoutSessionsOnSensitiveChanges" for LB 2.x projects - #410
Conversation
Modify "empty-server" template to enable "logoutSessionsOnSensitiveChanges" for projects using on LoopBack 2.x
bajtos
commented
Jan 20, 2017
@slnode test please |
| app.models.AccessToken.find(function(err, list) { | ||
| if (err) return next(err); | ||
| list = list.map(function(t) { return t.toObject(); }); | ||
| expect(list).to.eql([]); |
There was a problem hiding this comment.
https://github.com/moll/js-must#beware-of-libraries-that-assert-on-property-access
I could add dirty-chai and use .to.be.empty(), but I feel it's not worth the effort now.
bajtos
commented
Jan 23, 2017
@slnode test please |
priyavivek1
commented
Jan 23, 2017
@bajtos : i have loopback 2.22.1 in my app. still i m getting the warnign message. "The user model "User" is attached to an application that does not specify We recommend turning this feature on by setting We also recommend enabling "injectOptionsFromRemoteContext" in Its was not coming a week back. but i was try publishing lopback 2.36.0 to our private repo. Seems some dependency carrying this message, Any idea?? |
bajtos
commented
Jan 25, 2017
@priyavivek1 please run |
Description
"logoutSessionsOnSensitiveChanges" for projects using on LoopBack 2.x
Related issues
Checklist
guide