From f93d116035accc46a697d07a59c6883d0db37b40 Mon Sep 17 00:00:00 2001 From: Jerome Lebleu Date: Thu, 19 Dec 2013 02:02:32 +0100 Subject: [PATCH] Fix abandoned code --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index bfab05a7..b9a4ff67 100644 --- a/js/app.js +++ b/js/app.js @@ -207,7 +207,7 @@ app = Sammy('#main', function (sam) { store.set('path', req.path); // Redirect to login page if no credentials stored - if (!store.get('connected') != 'true') { + if (!store.get('connected')) { req.redirect('#/login'); return false; }