Fix abandoned code

This commit is contained in:
Jerome Lebleu 2013-12-19 02:02:32 +01:00
parent cf47518d67
commit f93d116035

View file

@ -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;
}