Revision df5f123a

b/vncauthproxy/proxy.py
612 612
            user = line[0]
613 613
            password = line[1]
614 614

  
615
            split_password = ('cleartext', password)
615
            split_password = ('{cleartext}', password)
616 616
            if password[0] == '{':
617 617
                split_password = password[1:].split('}')
618 618
                if len(split_password) != 2 or not split_password[1] \
......
622 622
            if user in users:
623 623
                raise Exception("Duplicate user entry in auth file")
624 624

  
625
            users[user] = password
625
            users[user] = split_password
626 626

  
627 627
    if not users:
628 628
        logger.warn("No users specified.")

Also available in: Unified diff