diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-03 14:26:57 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-03 14:26:57 +0100 |
commit | 23d5fb161cd25d236068e8da0fa3d5923545493a (patch) | |
tree | 34bb4fd36e94bcb10fea7f751a24e90802bc5931 /module/web/pyload_app.py | |
parent | animated filtering, removed background from fileView (diff) | |
download | pyload-23d5fb161cd25d236068e8da0fa3d5923545493a.tar.xz |
http auth for the api
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 9f3c2413a..f8578fcf0 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -130,7 +130,7 @@ def nopermission(): def login_post(): username = request.forms.get("username") password = request.forms.get("password") - user = PYLOAD.checkAuth(username, password) + user = PYLOAD.checkAuth(username, password, request.environ.get('REMOTE_ADDR', None)) if not user: return render_to_response("login.html", {"errors": True}, [pre_processor]) set_session(request, user) |