You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run formage and get this error (When accessing /admin). I can login going to admin/login but after submitting credentials i get TypeError: Cannot set property '_FormageUser' of undefined
TypeError: Cannot set property '_loginReferrer' of undefined
at /Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/formage/lib/controllers.js:540:52
at callbacks (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:164:37)
at param (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:138:11)
at pass (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:145:5)
at Router._dispatch (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:173:5)
at Object.router (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:33:10)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.json [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/json.js:53:37)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.urlencoded [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/urlencoded.js:51:37)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at b (domain.js:183:18)
at Domain.run (domain.js:123:23)
at Object.DomainsMiddleware [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/formage/node_modules/nodestrum/index.js:54:7)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.expressInit [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/middleware.js:30:5)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.query [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/query.js:44:5)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Function.app.handle (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:198:3)
at Object.fn [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/application.js:120:11)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:165:78)
at resume (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/static.js:60:7)
at SendStream.error (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/static.js:73:37)
at SendStream.EventEmitter.emit (events.js:95:17)
at SendStream.error (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:147:51)
at SendStream.onStatError (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:248:48)
at /Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:320:26
at Object.oncomplete (fs.js:107:15)
GET /admin 500 13ms - 16b
TypeError: Cannot set property '_loginReferrer' of undefined
at /Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/formage/lib/controllers.js:540:52
at callbacks (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:164:37)
at param (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:138:11)
at pass (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:145:5)
at Router._dispatch (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:173:5)
at Object.router (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/router/index.js:33:10)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.json [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/json.js:53:37)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.urlencoded [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/urlencoded.js:51:37)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at b (domain.js:183:18)
at Domain.run (domain.js:123:23)
at Object.DomainsMiddleware [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/formage/node_modules/nodestrum/index.js:54:7)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.expressInit [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/middleware.js:30:5)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.query [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/query.js:44:5)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Function.app.handle (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:198:3)
at Object.fn [as handle] (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/lib/application.js:120:11)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at next (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/proto.js:165:78)
at resume (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/static.js:60:7)
at SendStream.error (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/connect/lib/middleware/static.js:73:37)
at SendStream.EventEmitter.emit (events.js:95:17)
at SendStream.error (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:147:51)
at SendStream.onStatError (/Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:248:48)
at /Users/antonded/Projects/КупиНомер/kupinomer-server/node_modules/express/node_modules/send/lib/send.js:320:26
at Object.oncomplete (fs.js:107:15)
refack
changed the title
TypeError: Cannot set property '_loginReferrer' of undefined
Allow formage to work (authenticate users) without sessions
May 5, 2014
I'm trying to run formage and get this error (When accessing /admin). I can login going to admin/login but after submitting credentials i get TypeError: Cannot set property '_FormageUser' of undefined
My code is:
The text was updated successfully, but these errors were encountered: