no need to have blank 'errors' property in the states. validation plugin now handles that

This commit is contained in:
Edin Dazdarevic
2015-03-04 22:55:16 +01:00
parent 38de717da9
commit b47a90b476
4 changed files with 7 additions and 5 deletions

View File

@@ -58,6 +58,8 @@ var UserActions = {
actionType: UserConstants.USER_LOGIN
});
superagent.post(globals.ApiUrl + '/user/login')
.withCredentials()
.send(loginDetails)