diff options
author | 2013-03-03 14:26:57 +0100 | |
---|---|---|
committer | 2013-03-03 14:26:57 +0100 | |
commit | 23d5fb161cd25d236068e8da0fa3d5923545493a (patch) | |
tree | 34bb4fd36e94bcb10fea7f751a24e90802bc5931 /module/Api.py | |
parent | animated filtering, removed background from fileView (diff) | |
download | pyload-23d5fb161cd25d236068e8da0fa3d5923545493a.tar.xz |
http auth for the api
Diffstat (limited to 'module/Api.py')
-rw-r--r-- | module/Api.py | 3 |
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) |