Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
1d915c1d
Commit
1d915c1d
authored
4 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
postponed getting users' project
parent
c5853380
master
MLAB-677
devel
patch-1
reset-jul13
reset-merge
testing
6 merge requests
!143
updating yml config
,
!64
Prepare production
,
!63
Prepare after testing
,
!62
Testing
,
!59
Mlab 240
,
!56
postponed getting users' project
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/routes-account.js
+5
-0
routes/routes-account.js
with
5 additions
and
0 deletions
+5
-0
routes/routes-account.js
+
5
-
0
View file @
1d915c1d
...
...
@@ -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
'
,
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets