diff options
Diffstat (limited to 'swat')
-rw-r--r-- | swat/login.esp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/swat/login.esp b/swat/login.esp index f118eab1a2..10a0ba80d6 100644 --- a/swat/login.esp +++ b/swat/login.esp @@ -23,7 +23,13 @@ display_form(f); <% if (request.REQUEST_METHOD == "POST") { - auth = userAuth(form.Username, form.Password, form.Domain); + var authinfo = new Object(); + authinfo.username = form.Username; + authinfo.password = form.Password; + authinfo.domain = form.Domain; + authinfo.rhost = request['REMOTE_HOST']; + + auth = userAuth(authinfo); if (auth.result) { /* for now just authenticate everyone */ |