Commit 47f226be by Torkel Ödegaard

login force full page reload

parent cfabccc5
......@@ -37,7 +37,7 @@ function (angular) {
$http.post('/login', $scope.loginModel).then(function(results) {
$scope.appEvent('logged-in', results.data.user);
$location.path('/');
window.location.href = '/';
}, function(err) {
if (err.status === 401) {
$scope.loginError = "Username or password is incorrect";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment