front/auth: implement privileges + top nav auth

This commit is contained in:
rr-
2016-03-30 22:05:57 +02:00
parent 28c90a25f3
commit d8f11d87e5
5 changed files with 68 additions and 12 deletions

View File

@ -36,7 +36,7 @@ class AuthController {
options);
resolve();
page('/');
/* TODO: notify top navigation */
/* TODO: notify about login */
}).catch(errorMessage => { reject(errorMessage); });
});
}});
@ -46,7 +46,7 @@ class AuthController {
this.api.logout();
cookies.remove('auth');
page('/');
/* TODO: notify top navigation */
/* TODO: notify about logout */
}
}