mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix abandoned code
This commit is contained in:
parent
cf47518d67
commit
f93d116035
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ app = Sammy('#main', function (sam) {
|
||||||
store.set('path', req.path);
|
store.set('path', req.path);
|
||||||
|
|
||||||
// Redirect to login page if no credentials stored
|
// Redirect to login page if no credentials stored
|
||||||
if (!store.get('connected') != 'true') {
|
if (!store.get('connected')) {
|
||||||
req.redirect('#/login');
|
req.redirect('#/login');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue