Commit 1d915c1d authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

postponed getting users' project

6 merge requests!143updating yml config,!64Prepare production,!63Prepare after testing,!62Testing,!59Mlab 240,!56postponed getting users' project
This commit is part of merge request !56. Comments created here will be created in the context of that merge request.
Showing with 5 additions and 0 deletions
+5 -0
......@@ -180,6 +180,10 @@ module.exports = function (app, config, passport, i18n) {
methods.getUserByEmail(req.user.email, function(data, err){
if (!err) {
if (data.verificationStatus == 1) {
res.render(lang+'/account/services', {
user: data
});
/* !!! DO NOT DELETE. TEMPORARILY DISABLED FOR FUTURE USE. !!!
async.waterfall([
// get userId by email from userdb
function(done) {
......@@ -237,6 +241,7 @@ module.exports = function (app, config, passport, i18n) {
});
}
])
*/
}
else {
res.render(lang+'/account/home', {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment