hftlclub / cis

CIS Club Information System
4 stars 0 forks source link

Keypermissions error from logfile #60

Closed fmalcher closed 8 years ago

fmalcher commented 9 years ago
/opt/cis/services/userservice.js:235
                        if(data.type == 'club' && data.keyPermissions[config.doorkeys[i]]){ //if is
                                                                     ^
TypeError: Cannot read property '26' of undefined
    at /opt/cis/services/userservice.js:235:49
    at _done (/opt/cis/node_modules/ldapjs/lib/client/client.js:791:12)
    at messageCallback (/opt/cis/node_modules/ldapjs/lib/client/client.js:869:16)
    at Parser.onMessage (/opt/cis/node_modules/ldapjs/lib/client/client.js:199:12)
    at Parser.emit (events.js:107:17)
    at Parser.write (/opt/cis/node_modules/ldapjs/lib/messages/parser.js:105:8)
    at Socket.onData (/opt/cis/node_modules/ldapjs/lib/client/client.js:155:24)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
fmalcher commented 8 years ago

Didn't happen again.