summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-03 14:26:57 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-03 14:26:57 +0100
commit23d5fb161cd25d236068e8da0fa3d5923545493a (patch)
tree34bb4fd36e94bcb10fea7f751a24e90802bc5931 /module/Api.py
parentanimated filtering, removed background from fileView (diff)
downloadpyload-23d5fb161cd25d236068e8da0fa3d5923545493a.tar.xz
http auth for the api
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py3
1 files changed, 0 insertions, 3 deletions
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)