From 23d5fb161cd25d236068e8da0fa3d5923545493a Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 3 Mar 2013 14:26:57 +0100 Subject: http auth for the api --- module/Api.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'module/Api.py') diff --git a/module/Api.py b/module/Api.py index d3a7cb472..fb42a122a 100644 --- a/module/Api.py +++ b/module/Api.py @@ -170,9 +170,6 @@ class Api(Iface): :param remoteip: :return: dict with info, empty when login is incorrect """ - if self.core.config["remote"]["nolocalauth"] and remoteip == "127.0.0.1": - return "local" - self.core.log.info(_("User '%s' tried to log in") % username) return self.core.db.checkAuth(username, password) -- cgit v1.2.3