def request_login(self, remote_name, username=None):
        user_input = ''
        while not username:
            try:
                self.out.write("Remote '%s' username: " % remote_name)
                user_input = self.get_username(remote_name)
                username = Username(user_input)
            except InvalidNameException:
                self.out.error('%s is not a valid username' % user_input)

        self.out.write('Please enter a password for "%s" account: ' % username)
        try:
            pwd = self.get_password(remote_name)
        except Exception as e:
            raise ConanException('Cancelled pass %s' % e)
        return username, pwd
Request user to input their name and password
dataset/ETHPy150Open conan-io/conan/conans/client/userio.py/UserIO.request_login