marklogic-community / slush-marklogic-node

Slush generator for a MarkLogic/node project
https://github.com/marklogic-community/slush-marklogic-node/wiki
Other
40 stars 28 forks source link

Cannot log in after bad login attempt #513

Closed patrickmcelwee closed 7 years ago

patrickmcelwee commented 7 years ago

This is related to https://github.com/marklogic-community/slush-marklogic-node/issues/482, which fixed this issue on logout, but not after an initial failed login.

grtjn commented 7 years ago

I may have broken it in last release. 1.3.0 or before contained an update to the interceptor that forced a logout at failed login. However, that interfered with login messaging on the ui. So i removed it, but looks like it reintroduced the issue. At failed login the middle tier dhould probably flush the authenticator so next attempt will have to recreate it..

patrickmcelwee commented 7 years ago

I created a pull request with a suggested fix.

grtjn commented 7 years ago

Ah right. You have a PR for exactly that, thanks!