mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Conversations page need login
This commit is contained in:
		@@ -198,6 +198,12 @@ ComunicWeb.common.page = {
 | 
			
		||||
           var mainContainerElem = this.emptyPage(true);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        //Check if the page requires user login
 | 
			
		||||
        if(pageInfos.needLogin){
 | 
			
		||||
            if(!signed_in())
 | 
			
		||||
                openPage("login");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        //We check if the page is a full screen page or not
 | 
			
		||||
        if(pageInfos.disableMenus){
 | 
			
		||||
            //We force the screen to be cleaned
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,8 @@ ComunicWeb.pagesList = {
 | 
			
		||||
    conversations: {
 | 
			
		||||
        pageTitle: "Conversations",
 | 
			
		||||
        methodHandler: "ComunicWeb.pages.conversations.main.open",
 | 
			
		||||
        disableMenus: false
 | 
			
		||||
        disableMenus: false,
 | 
			
		||||
        needLogin: true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user