-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Description
I've set up a development instance on a local server and signed up with the email I set in STAFF, following the installation instructions. Since I'm in development mode, the account is automatically verified. When I login with a bad password I get, correctly, an error saying invalid email or password. And when I try to login I get the following error. It is my understanding that I must first login to configure a forum. Has anyone else encountered this, know how to work around it, or have an idea of what I might have done wrong?
democracyos:db-api:forum Searching for forum with name undefined +342ms
democracyos:db-api:forum No forum found with name undefined +9ms
Error: Only STAFF members are allowed to entry before DemocracyOS is initialized.
at module.exports.canManage (/home/user/democracyos.git/lib/middlewares/user/index.js:33:12)
at Layer.handle [as handle_request] (/home/user/democracyos.git/node_modules/express/lib/router/layer.js:95:5)
at next (/home/user/democracyos.git/node_modules/express/lib/router/route.js:137:13)
at /home/user/democracyos.git/lib/middlewares/forum-middlewares/index.js:97:5
at Query.<anonymous> (/home/user/democracyos.git/lib/db-api/forum.js:165:16)
at /home/user/democracyos.git/node_modules/kareem/index.js:273:21
at /home/user/democracyos.git/node_modules/kareem/index.js:131:16
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels