diff deluge-1.2.0_rc2\ \(2\)/deluge/core/authmanager.py deluge-1.2.0_rc2/deluge/core/authmanager.py 59a60 > self.__local_auth = [] 65a67 > self.__local_auth = [] 83c85,89 < if username not in self.__auth: --- > if username == "localclient": > for (saved_pwd, level) in self.__local_auth: > if saved_pwd == password: > return int(level) > 86,92c92,95 < if username not in self.__auth: < raise BadLoginError("Username does not exist") < < if self.__auth[username][0] == password: < # Return the users auth level < return int(self.__auth[username][1]) < else: --- > for (saved_pwd, level) in self.__local_auth: > if saved_pwd == password: > return int(level) > 93a97,108 > else: > if username not in self.__auth: > # Let's try to re-load the file.. Maybe it's been updated > self.__load_auth_file() > if username not in self.__auth: > raise BadLoginError("Username does not exist") > > if self.__auth[username][0] == password: > # Return the users auth level > return int(self.__auth[username][1]) > else: > raise BadLoginError("Password does not match") 142,143c157,161 < < self.__auth[username.strip()] = (password.strip(), level) --- > > if username.strip() == "localclient": > self.__local_auth.append((password.strip(), level)) > else: > self.__auth[username.strip()] = (password.strip(), level)