mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Block access to settings page to signed out users
This commit is contained in:
parent
a7a33bbdb8
commit
f91e053110
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user