mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-11 20:51:35 +02:00
fix(torrents): reomve redundant login check code
This commit is contained in:
@@ -16,13 +16,6 @@
|
||||
vm.user = Authentication.user;
|
||||
vm.forumPath = [];
|
||||
|
||||
/**
|
||||
* If user is not signed in then redirect back home
|
||||
*/
|
||||
if (!Authentication.user) {
|
||||
$state.go('authentication.signin');
|
||||
}
|
||||
|
||||
/**
|
||||
* buildPager
|
||||
* pagination init
|
||||
|
||||
Reference in New Issue
Block a user