diff --git a/assets/js/controllers/authCtrl.js b/assets/js/controllers/authCtrl.js index 1c4642a904..7fdd91d6cc 100644 --- a/assets/js/controllers/authCtrl.js +++ b/assets/js/controllers/authCtrl.js @@ -22,7 +22,8 @@ habitrpg.controller("AuthCtrl", ['$scope', '$rootScope', 'Facebook', 'LocalAuth' }; runAuth = function(id, token) { User.authenticate(id, token, function(err) { - $rootScope.modals.login = false; + window.location.href = '/'; + //$rootScope.modals.login = false; }); }; $scope.register = function() {