(self)
Check login information and prompt if not available.
Check login information and prompt if not available.
Check login information and prompt if not available .
def validate_login(self):
        """Check login information and prompt if not available."""
        self.data["username"] = self.data.get("username", None)
        self.data["password"] = self.data.get("password", None)
        if not self.no_prompt:
            self.data = util.prompt_login_data(self.data)

        self.data = util.validate_login_data(self.data)
def validate_login ( self ) : self . data [ "username" ] = self . data . get ( "username" , None ) self . data [ "password" ] = self . data . get ( "password" , None ) if not self . no_prompt : self . data = util . prompt_login_data ( self . data ) self . data = util . validate_login_data ( self . data )