{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate-templates/issues/15","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate-templates/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate-templates/issues/15/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate-templates/issues/15/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate-templates/issues/15","id":110490690,"number":15,"title":"Template Project doesnt work as intended (AbpMvcAuthorize doesnt work)","user":{"login":"Korigoth","id":10915055,"avatar_url":"https://avatars.githubusercontent.com/u/10915055?v=3","gravatar_id":"","url":"https://api.github.com/users/Korigoth","html_url":"https://github.com/Korigoth","followers_url":"https://api.github.com/users/Korigoth/followers","following_url":"https://api.github.com/users/Korigoth/following{/other_user}","gists_url":"https://api.github.com/users/Korigoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Korigoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korigoth/subscriptions","organizations_url":"https://api.github.com/users/Korigoth/orgs","repos_url":"https://api.github.com/users/Korigoth/repos","events_url":"https://api.github.com/users/Korigoth/events{/privacy}","received_events_url":"https://api.github.com/users/Korigoth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T16:29:39Z","updated_at":"2015-10-08T16:29:39Z","closed_at":null,"body":"Download the Project Template with AbpZero\r\n\r\nSet .Web Project as StartUp Project\r\nRestore Nugget Package, \r\nRun Update-databe\r\nPlay\r\n\r\nFirst it shouldn't be possible to go to /#/ page  without prior connection.\r\nBut it goes there and fail...\r\n\r\nAbpMvcAuthorize didn't do his job.\r\n\r\nChrome console errors:  (they are there because it doesnt redirect to login page when i was not connected)\r\nTypeError: Cannot read property 'userName' of null\r\n    at vm.getShownUserName (http://localhost:6334/App/Main/views/layout/header.js:20:43)\r\n    at fn (eval at <anonymous> (http://localhost:6334/Scripts/angular.min.js:212:283), <anonymous>:4:243)\r\n    at Object.get (http://localhost:6334/Scripts/angular.min.js:114:129)\r\n    at n.$digest (http://localhost:6334/Scripts/angular.min.js:130:71)\r\n    at n.$apply (http://localhost:6334/Scripts/angular.min.js:133:236)\r\n    at g (http://localhost:6334/Scripts/angular.min.js:87:376)\r\n    at K (http://localhost:6334/Scripts/angular.min.js:91:448)\r\n    at XMLHttpRequest.z.onload (http://localhost:6334/Scripts/angular.min.js:92:462)(anonymous function) @ angular.min.js:107\r\nhttp://localhost:6334/fonts/fontawesome-webfont.woff2?v=4.4.0 Failed to load resource: the server responded with a status of 404 (Not Found)\r\nangular.min.js:107 TypeError: Cannot read property 'userName' of null\r\n    at vm.getShownUserName (http://localhost:6334/App/Main/views/layout/header.js:20:43)\r\n    at fn (eval at <anonymous> (http://localhost:6334/Scripts/angular.min.js:212:283), <anonymous>:4:243)\r\n    at Object.get (http://localhost:6334/Scripts/angular.min.js:114:129)\r\n    at n.$digest (http://localhost:6334/Scripts/angular.min.js:130:71)\r\n    at http://localhost:6334/Scripts/angular.min.js:133:32\r\n    at e (http://localhost:6334/Scripts/angular.min.js:43:95)\r\n    at http://localhost:6334/Scripts/angular.min.js:45:491(anonymous function) @ angular.min.js:107\r\n2angular.min.js:107 TypeError: Cannot read property 'userName' of null\r\n    at vm.getShownUserName (http://localhost:6334/App/Main/views/layout/header.js:20:43)\r\n    at fn (eval at <anonymous> (http://localhost:6334/Scripts/angular.min.js:212:283), <anonymous>:4:243)\r\n    at Object.get (http://localhost:6334/Scripts/angular.min.js:114:129)\r\n    at n.$digest (http://localhost:6334/Scripts/angular.min.js:130:71)\r\n    at n.$apply (http://localhost:6334/Scripts/angular.min.js:133:236)\r\n    at g (http://localhost:6334/Scripts/angular.min.js:87:376)\r\n    at K (http://localhost:6334/Scripts/angular.min.js:91:448)\r\n    at XMLHttpRequest.z.onload (http://localhost:6334/Scripts/angular.min.js:92:462)(anonymous function) @ angular.min.js:107\r\n2angular.min.js:107 TypeError: Cannot read property 'userName' of null\r\n    at vm.getShownUserName (http://localhost:6334/App/Main/views/layout/header.js:20:43)\r\n    at fn (eval at <anonymous> (http://localhost:6334/Scripts/angular.min.js:212:283), <anonymous>:4:243)\r\n    at Object.get (http://localhost:6334/Scripts/angular.min.js:114:129)\r\n    at n.$digest (http://localhost:6334/Scripts/angular.min.js:130:71)\r\n    at http://localhost:6334/Scripts/angular.min.js:133:32\r\n    at e (http://localhost:6334/Scripts/angular.min.js:43:95)\r\n    at http://localhost:6334/Scripts/angular.min.js:45:491\r\n"}}