summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
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)