ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject incubator-ignite git commit: # 843 WIP Login page.
Date Wed, 27 May 2015 06:21:45 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 2a8445dee -> 17c6f30bb


# 843 WIP Login page.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/17c6f30b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/17c6f30b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/17c6f30b

Branch: refs/heads/ignite-843
Commit: 17c6f30bb6249cedd63fbf8fe7558b64445d4eb8
Parents: 2a8445d
Author: Andrey <anovikov@gridgain.com>
Authored: Wed May 27 13:21:37 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Wed May 27 13:21:37 2015 +0700

----------------------------------------------------------------------
 modules/webconfig/nodejs/routes/auth.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/17c6f30b/modules/webconfig/nodejs/routes/auth.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/routes/auth.js b/modules/webconfig/nodejs/routes/auth.js
index 41be291..35e5076 100644
--- a/modules/webconfig/nodejs/routes/auth.js
+++ b/modules/webconfig/nodejs/routes/auth.js
@@ -14,7 +14,7 @@ router.post('/register', function(req, res, next) {
         if (!account)
             return res.status(500).send('Failed to create account.');
 
-        new db.Space({name: 'Personal space', owner: account._id}).create();
+        new db.Space({name: 'Personal space', owner: account._id}).save();
 
         req.logIn(account, {}, function(err) {
             if (err)


Mime
View raw message