CleanUp After Docker Try
This commit is contained in:
		
							
								
								
									
										11
									
								
								app/views/Logout.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/views/Logout.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
class Logout extends Template
 | 
			
		||||
{
 | 
			
		||||
	function __construct()
 | 
			
		||||
	{
 | 
			
		||||
		global $userManager;
 | 
			
		||||
		$userManager->logout();
 | 
			
		||||
		header('Location: ' . BASEURL . 'login');
 | 
			
		||||
		die();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user