| 
				
			 | 
			
			
				@@ -25,7 +25,7 @@ class SessionController(Controller): 
			 | 
		
	
		
			
			| 
				25
			 | 
			
				25
			 | 
			
			
				     @hapic.handle_exception(AuthenticationFailed, HTTPStatus.BAD_REQUEST) 
			 | 
		
	
		
			
			| 
				26
			 | 
			
				26
			 | 
			
			
				     # TODO - G.M - 17-04-2018 - fix output header ? 
			 | 
		
	
		
			
			| 
				27
			 | 
			
				27
			 | 
			
			
				     # @hapic.output_headers() 
			 | 
		
	
		
			
			| 
				28
			 | 
			
				
			 | 
			
			
				-    @hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.NO_CONTENT) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				28
			 | 
			
			
				+    @hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.NO_CONTENT)  # nopep8 
			 | 
		
	
		
			
			| 
				29
			 | 
			
				29
			 | 
			
			
				     def login(self, context, request: TracimRequest, hapic_data=None): 
			 | 
		
	
		
			
			| 
				30
			 | 
			
				30
			 | 
			
			
				         """ 
			 | 
		
	
		
			
			| 
				31
			 | 
			
				31
			 | 
			
			
				         Logs user into the system 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -41,7 +41,7 @@ class SessionController(Controller): 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				41
			 | 
			
			
				         return uapi.authenticate_user(email, password) 
			 | 
		
	
		
			
			| 
				42
			 | 
			
				42
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				43
			 | 
			
				43
			 | 
			
			
				     @hapic.with_api_doc() 
			 | 
		
	
		
			
			| 
				44
			 | 
			
				
			 | 
			
			
				-    @hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.NO_CONTENT) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				44
			 | 
			
			
				+    @hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.NO_CONTENT)  # nopep8 
			 | 
		
	
		
			
			| 
				45
			 | 
			
				45
			 | 
			
			
				     def logout(self, context, request: TracimRequest, hapic_data=None): 
			 | 
		
	
		
			
			| 
				46
			 | 
			
				46
			 | 
			
			
				         """ 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				47
			 | 
			
			
				         Logs out current logged in user session 
			 |