Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
toror33
2020-06-02 20:26:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
779001482264461bbbdbdef6fa5c7550cd41de72
77900148
1 parent
811461ef
사용자 정보 수정 기능 변경
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
backend/routes/userlogin/user.js
backend/routes/userlogin/user.js
View file @
7790014
...
...
@@ -20,15 +20,13 @@ router.post('/update', function(req, res, next) {
console
.
log
(
"updating user failed"
);
next
(
err
);
}
else
{
console
.
log
(
"user updated successfully"
);
res
.
redirect
(
'back'
);
res
.
status
(
200
).
send
(
'update'
);
}
});
}
else
{
console
.
log
(
"password not match"
);
res
.
redirect
(
'back'
);
res
.
status
(
404
).
send
(
err
);
}
});
...
...
Please
register
or
login
to post a comment