mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 09:58:51 +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){
|
||||
|
||||
if(!signed_in())
|
||||
openPage("login");
|
||||
|
||||
//Settings page is organized like an array with two columns
|
||||
//Left column : settings sections menu
|
||||
//Rigth column : current settings section
|
||||
|
Loading…
Reference in New Issue
Block a user