mirror of
				https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
				synced 2025-11-04 11:07:58 +00:00 
			
		
		
		
	Added login and logout forms
This commit is contained in:
		@@ -43,7 +43,7 @@ final class Router implements RouterInterface
 | 
			
		||||
        if ($this->get) {
 | 
			
		||||
            switch ($this->get[self::CONTROLLER]) {
 | 
			
		||||
                case 'user':
 | 
			
		||||
                    $userController = new User();
 | 
			
		||||
                    $userController = new User($this->core);
 | 
			
		||||
                    switch ($this->get[self::ACTION]) {
 | 
			
		||||
                        case 'login':
 | 
			
		||||
                            return $userController->login();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user