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 Fixed logout.
Date Wed, 27 May 2015 08:55:32 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 9ba409484 -> d3ebfe915


# 843 Fixed logout.


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

Branch: refs/heads/ignite-843
Commit: d3ebfe9158f7cabcca40d74030c98f1adb773a2d
Parents: 9ba4094
Author: Andrey <anovikov@gridgain.com>
Authored: Wed May 27 15:55:25 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Wed May 27 15:55:25 2015 +0700

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d3ebfe91/modules/webconfig/nodejs/routes/auth.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/routes/auth.js b/modules/webconfig/nodejs/routes/auth.js
index 35e5076..332be80 100644
--- a/modules/webconfig/nodejs/routes/auth.js
+++ b/modules/webconfig/nodejs/routes/auth.js
@@ -50,6 +50,8 @@ router.post('/login', function(req, res, next) {
  */
 router.get('/logout', function(req, res) {
     req.logout();
+
+    res.redirect('/');
 });
 
 module.exports = router;
\ No newline at end of file


Mime
View raw message