OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e715ab
)
パスワードが無条件で更新されてしまうバグを修正した
author
konekoneko
<jbh03215@hotmail.co.jp>
Mon, 6 May 2013 07:11:05 +0000
(16:11 +0900)
committer
konekoneko
<jbh03215@hotmail.co.jp>
Mon, 6 May 2013 07:11:05 +0000
(16:11 +0900)
profile.js
patch
|
blob
|
history
diff --git
a/profile.js
b/profile.js
index
f6c8985
..
9b0a61c
100644
(file)
--- a/
profile.js
+++ b/
profile.js
@@
-201,7
+201,7
@@
function edit_postproc(req, res)
}
\r
async.waterfall([
\r
function(cb){
\r
- if(
req.body.updatepassword == false
)
\r
+ if(
typeof(req.body.updatepassword) == "undefined"
)
\r
collection.UpdatAsync(req.body.name,req.body,null,cb);
\r
else
\r
collection.UpdatAsync(req.body.name,req.body,req.body.password,cb);
\r