public profile accessible and start updating form
This commit is contained in:
4
app.js
4
app.js
@ -243,6 +243,10 @@ app.get(
|
||||
'/challenges/:challengeNumber',
|
||||
challengesController.returnChallenge
|
||||
);
|
||||
app.get(
|
||||
'/users/:username',
|
||||
userController.returnUser
|
||||
);
|
||||
app.all('/account', passportConf.isAuthenticated);
|
||||
app.get('/account', userController.getAccount);
|
||||
app.post('/account/profile', userController.postUpdateProfile);
|
||||
|
Reference in New Issue
Block a user