Fix interactive password prompt
Change-Id: Ie0e7a9cd6016b5c646a111a76e8372e10602a25c Closes-Bug: #1473862
This commit is contained in:
		
				
					committed by
					
						
						gustavo panizzo
					
				
			
			
				
	
			
			
			
						parent
						
							a2011de73c
						
					
				
				
					commit
					034a2d2f96
				
			@@ -125,7 +125,7 @@ class ClientManager(object):
 | 
				
			|||||||
        # password auth is requested.
 | 
					        # password auth is requested.
 | 
				
			||||||
        if (self.auth_plugin_name.endswith('password') and
 | 
					        if (self.auth_plugin_name.endswith('password') and
 | 
				
			||||||
                not self._cli_options.auth.get('password', None)):
 | 
					                not self._cli_options.auth.get('password', None)):
 | 
				
			||||||
            self._cli_options.os_password = self._pw_callback()
 | 
					            self._cli_options.auth['password'] = self._pw_callback()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        (auth_plugin, self._auth_params) = auth.build_auth_params(
 | 
					        (auth_plugin, self._auth_params) = auth.build_auth_params(
 | 
				
			||||||
            self.auth_plugin_name,
 | 
					            self.auth_plugin_name,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user