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

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