← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 540044] Re: After initial set up, mcc always shows mythweb authentication as enabled

 

Appears to be an issue in the mcc plugins logic (below)


        #Mythweb auth
        self.mythweb_auth={}
        found_cfg=False
        if os.path.exists(self.CONFIGFILE):
            self.config.read(self.CONFIGFILE)
            try:
                self.mythweb_auth['enable'] = self.config.getboolean("cfg", "enable")
                self.mythweb_auth['user'] = self.config.getboolean("cfg", "username")
                self.mythweb_auth['pass'] = self.config.getboolean("cfg", "password")
                found_cfg=True
            except Exception:
                pass
        if not found_cfg:
            self.mythweb_auth['enable'] = os.path.exists('/etc/mythtv/mythweb-digest')
            self.mythweb_auth['user'] = ""
            self.mythweb_auth['pass'] = ""

-- 
After initial set up, mcc always shows mythweb authentication as enabled
https://bugs.launchpad.net/bugs/540044
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New

Bug description:
After initially enabling authentication for mythweb, MCC will always show authentication as enabled (even if you disable it)

Steps to reproduce. Enable mythweb authentication (in MCC or using dpkg-reconfigure mythweb). Then disable mythweb authentication. Upon MCC reloading (or relaunching it), mythweb authentication is enabled (even though it really isn't)





References