mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-10-30 17:54:59 +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){ | ||||
|  | ||||
| 		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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user