mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +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
|
||||
|
Reference in New Issue
Block a user