mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-07-10 13:12:53 +00:00
Block access to settings page to signed out users
This commit is contained in:
@ -14,6 +14,9 @@ ComunicWeb.pages.settings.main = {
|
|||||||
*/
|
*/
|
||||||
open: function(args, target){
|
open: function(args, target){
|
||||||
|
|
||||||
|
if(!signed_in())
|
||||||
|
openPage("login");
|
||||||
|
|
||||||
//Settings page is organized like an array with two columns
|
//Settings page is organized like an array with two columns
|
||||||
//Left column : settings sections menu
|
//Left column : settings sections menu
|
||||||
//Rigth column : current settings section
|
//Rigth column : current settings section
|
||||||
|
Reference in New Issue
Block a user