Angular validation

This commit is contained in:
terakilobyte
2015-01-06 01:09:17 -05:00
parent 41a1bc37c3
commit 9c26fbec2d
17 changed files with 30716 additions and 19 deletions

2
app.js
View File

@ -249,8 +249,8 @@ app.get(
userController.returnUser
);
app.all('/account', passportConf.isAuthenticated);
app.get('/account', userController.getAccount);
app.get('/account/api', userController.getAccountAngular);
app.get('/account', userController.getAccount);
app.post('/account/profile', userController.postUpdateProfile);
app.post('/account/password', userController.postUpdatePassword);
app.post('/account/delete', userController.postDeleteAccount);