From 1d915c1d6cd00894040314c36066d0d2774db545 Mon Sep 17 00:00:00 2001
From: sanny <rosanny.sihombing@hft-stuttgart.de>
Date: Wed, 15 Jul 2020 18:30:52 +0200
Subject: [PATCH] postponed getting users' project

---
 routes/routes-account.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/routes/routes-account.js b/routes/routes-account.js
index f0477561..5e6292c1 100644
--- a/routes/routes-account.js
+++ b/routes/routes-account.js
@@ -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', {
-- 
GitLab