{"action":"closed","issue":{"url":"https://api.github.com/repos/LaKing/ep_codepad/issues/10","repository_url":"https://api.github.com/repos/LaKing/ep_codepad","labels_url":"https://api.github.com/repos/LaKing/ep_codepad/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/LaKing/ep_codepad/issues/10/comments","events_url":"https://api.github.com/repos/LaKing/ep_codepad/issues/10/events","html_url":"https://github.com/LaKing/ep_codepad/issues/10","id":144104130,"number":10,"title":"TypeError: Cannot read property 'username' of undefined","user":{"login":"kovan","id":217326,"avatar_url":"https://avatars.githubusercontent.com/u/217326?v=3","gravatar_id":"","url":"https://api.github.com/users/kovan","html_url":"https://github.com/kovan","followers_url":"https://api.github.com/users/kovan/followers","following_url":"https://api.github.com/users/kovan/following{/other_user}","gists_url":"https://api.github.com/users/kovan/gists{/gist_id}","starred_url":"https://api.github.com/users/kovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovan/subscriptions","organizations_url":"https://api.github.com/users/kovan/orgs","repos_url":"https://api.github.com/users/kovan/repos","events_url":"https://api.github.com/users/kovan/events{/privacy}","received_events_url":"https://api.github.com/users/kovan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-28T22:52:42Z","updated_at":"2016-04-05T01:35:27Z","closed_at":"2016-04-05T01:35:27Z","body":"I am getting this error and I can't use codepad. It happens after I click the \"New Pad\" button.\r\nI am using MySQL as backend DB.\r\nWhat could it be?\r\n\r\n`[2016-03-28 23:50:57.851] [ERROR] console - TypeError: Cannot read property 'username' of undefined\r\n    at /var/www/codepad/node_modules/ep_codepad/auth.js:128:92\r\n    at /var/www/codepad/src/node/db/AuthorManager.js:55:5\r\n    at Object.callback (/var/www/codepad/src/node/db/AuthorManager.js:115:7)\r\n    at /var/www/codepad/src/node_modules/ueberdb2/CloneAndAtomicLayer.js:100:17\r\n    at exports.database.get (/var/www/codepad/src/node_modules/ueberdb2/CacheAndBufferLayer.js:144:5)\r\n    at doOperation [as operatorFunction] (/var/www/codepad/src/node_modules/ueberdb2/CloneAndAtomicLayer.js:94:18)\r\n    at iterator (/var/www/codepad/src/node_modules/channels/channels.js:66:17)\r\n    at /var/www/codepad/src/node_modules/ueberdb2/CloneAndAtomicLayer.js:103:7\r\n    at /var/www/codepad/src/node_modules/ueberdb2/CacheAndBufferLayer.js:185:7\r\n    at null.callback (/var/www/codepad/src/node_modules/ueberdb2/postgres_db.js:78:5)\r\n`"}}