fix(torrents): reomve redundant login check code

This commit is contained in:
OldHawk
2017-10-22 21:40:24 +08:00
parent 36deb6e3a4
commit a16793e2fd
30 changed files with 8 additions and 193 deletions

View File

@@ -15,13 +15,6 @@
vm.user = Authentication.user;
vm.forumPath = [];
/**
* If user is not signed in then redirect back home
*/
if (!Authentication.user) {
$state.go('authentication.signin');
}
/**
* init
*/