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

postponed getting users' project

parent c5853380
Showing with 5 additions and 0 deletions
+5 -0
...@@ -180,6 +180,10 @@ module.exports = function (app, config, passport, i18n) { ...@@ -180,6 +180,10 @@ module.exports = function (app, config, passport, i18n) {
methods.getUserByEmail(req.user.email, function(data, err){ methods.getUserByEmail(req.user.email, function(data, err){
if (!err) { if (!err) {
if (data.verificationStatus == 1) { if (data.verificationStatus == 1) {
res.render(lang+'/account/services', {
user: data
});
/* !!! DO NOT DELETE. TEMPORARILY DISABLED FOR FUTURE USE. !!!
async.waterfall([ async.waterfall([
// get userId by email from userdb // get userId by email from userdb
function(done) { function(done) {
...@@ -237,6 +241,7 @@ module.exports = function (app, config, passport, i18n) { ...@@ -237,6 +241,7 @@ module.exports = function (app, config, passport, i18n) {
}); });
} }
]) ])
*/
} }
else { else {
res.render(lang+'/account/home', { 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