Block access to settings page to signed out users

This commit is contained in:
Pierre HUBERT 2020-05-04 13:25:12 +02:00
parent a7a33bbdb8
commit f91e053110

View File

@ -14,6 +14,9 @@ ComunicWeb.pages.settings.main = {
*/
open: function(args, target){
if(!signed_in())
openPage("login");
//Settings page is organized like an array with two columns
//Left column : settings sections menu
//Rigth column : current settings section