{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/1697","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/1697/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/1697/events","html_url":"https://github.com/keystonejs/keystone/issues/1697","id":108351911,"number":1697,"title":"Error: Incorrect user or password","user":{"login":"jacargentina","id":517228,"avatar_url":"https://avatars.githubusercontent.com/u/517228?v=3","gravatar_id":"","url":"https://api.github.com/users/jacargentina","html_url":"https://github.com/jacargentina","followers_url":"https://api.github.com/users/jacargentina/followers","following_url":"https://api.github.com/users/jacargentina/following{/other_user}","gists_url":"https://api.github.com/users/jacargentina/gists{/gist_id}","starred_url":"https://api.github.com/users/jacargentina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacargentina/subscriptions","organizations_url":"https://api.github.com/users/jacargentina/orgs","repos_url":"https://api.github.com/users/jacargentina/repos","events_url":"https://api.github.com/users/jacargentina/events{/privacy}","received_events_url":"https://api.github.com/users/jacargentina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-25T15:50:16Z","updated_at":"2015-10-08T19:22:39Z","closed_at":null,"body":"I'm getting this stack:\r\n\r\n````\r\n------------------------------------------------\r\nError handling 500 (error):\r\n[TypeError: res.err is not a function]\r\n\r\n------------------------------------------------\r\n\r\nError thrown for request: /\r\nError: Incorrect user or password\r\n    at /home/javiercastro/javascript/website/node_modules/keystone/lib/session.js:113:19\r\n    at Query.<anonymous> (/home/javiercastro/javascript/website/node_modules/keystone/node_modules/mongoose/lib/query.js:2119:28)\r\n    at /home/javiercastro/javascript/website/node_modules/keystone/node_modules/mongoose/node_modules/kareem/index.js:177:19\r\n    at /home/javiercastro/javascript/website/node_modules/keystone/node_modules/mongoose/node_modules/kareem/index.js:109:16\r\n    at doNTCallback0 (node.js:407:9)\r\n    at process._tickCallback (node.js:336:13)\r\nGET / 500 67.312 ms\r\n````\r\n\r\nI think it may be related to this: after many months, i've opened my Firefox browser (normally i use Chrome every day) and pointed to my dev keystone site. Then i get the stack.\r\n\r\nI assume it is related to the old session cookie stored on Firefox which is now invalid (may be i've changed the secret after my last Firefox use on this site)\r\n\r\nWhich would be the way to avoid/correct this?"},"comment":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/comments/146661844","html_url":"https://github.com/keystonejs/keystone/issues/1697#issuecomment-146661844","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/1697","id":146661844,"user":{"login":"w01fgang","id":8686751,"avatar_url":"https://avatars.githubusercontent.com/u/8686751?v=3","gravatar_id":"","url":"https://api.github.com/users/w01fgang","html_url":"https://github.com/w01fgang","followers_url":"https://api.github.com/users/w01fgang/followers","following_url":"https://api.github.com/users/w01fgang/following{/other_user}","gists_url":"https://api.github.com/users/w01fgang/gists{/gist_id}","starred_url":"https://api.github.com/users/w01fgang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w01fgang/subscriptions","organizations_url":"https://api.github.com/users/w01fgang/orgs","repos_url":"https://api.github.com/users/w01fgang/repos","events_url":"https://api.github.com/users/w01fgang/events{/privacy}","received_events_url":"https://api.github.com/users/w01fgang/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T19:22:39Z","updated_at":"2015-10-08T19:22:39Z","body":"I get this error when the DB of the site is changed and the username doesn't changed.\r\nFor override this error I delete cookies of that site."}}