Feature: get user's accounts

This commit is contained in:
2015-10-01 09:09:48 +00:00
parent 8ed20ebf78
commit fdedcdcdff
17 changed files with 476 additions and 82 deletions

View File

@@ -21,7 +21,7 @@
AuthenticationService.login(vm.username, vm.password).then( function(response) {
if( response.success ) {
AuthenticationService.setCredentials(response.user);
$location.path('/');
$location.path('/accounts');
} else {
FlashService.error(response.message);
vm.dataLoading = false;