mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-06 11:35:31 +02:00
fix(torrents): reomve redundant login check code
This commit is contained in:
@@ -50,11 +50,6 @@
|
||||
* init all event bundle
|
||||
*/
|
||||
function init() {
|
||||
// If user is not signed in then redirect back home
|
||||
if (!Authentication.user) {
|
||||
$state.go('authentication.signin');
|
||||
}
|
||||
|
||||
registerCallback();
|
||||
|
||||
// Make sure the Socket is connected
|
||||
|
||||
Reference in New Issue
Block a user