Auth async

This commit is contained in:
Mo Bitar
2018-06-28 19:26:28 -05:00
parent 39062f17fd
commit d6c26bd344
4 changed files with 38 additions and 44 deletions

View File

@@ -303,7 +303,7 @@ angular.module('app')
})
}
} else {
authManager.login(server, email, pw, false, false, {}, function(response){
authManager.login(server, email, pw, false, false, {}).then((response) => {
window.location.reload();
})
}