mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Conversations page need login
This commit is contained in:
parent
ebd2fcf4f5
commit
19576cebed
@ -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
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user