def METHOD_NAME(self) -> None:
    """
    Handle ASA reaching privilege level 15 using login
    twb-dc-fw1> login
    Username: admin
    Raises NetmikoAuthenticationException, if we do not reach privilege
    level 15 after 10 loops.
    """
    delay_factor = self.select_delay_factor(0)
    i = 1
    max_attempts = 10
    self.write_channel("login" + self.RETURN)
    output = self.read_until_pattern(pattern=r"login")
    while i <= max_attempts:
        time.sleep(0.5 * delay_factor)
        output = self.read_channel()
        if "sername" in output:
            assert isinstance(self.username, str)
            self.write_channel(self.username + self.RETURN)
        elif "ssword" in output:
            assert isinstance(self.password, str)
            self.write_channel(self.password + self.RETURN)
        elif "#" in output:
            return
        else:
            self.write_channel("login" + self.RETURN)
        i += 1
    msg = "Unable to enter enable mode!"
    raise NetmikoAuthenticationException(msg)