diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-22 07:21:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:56 -0500 |
commit | 0b650edc83b8e5d686b2c1d66b464e85e0bf16ca (patch) | |
tree | e8c378cf3dc0d7698a35802e52dde5b129262eeb | |
parent | e95fbd6db21624f56defd7d85aaff77bc6d02550 (diff) | |
download | samba-0b650edc83b8e5d686b2c1d66b464e85e0bf16ca.tar.gz samba-0b650edc83b8e5d686b2c1d66b464e85e0bf16ca.tar.bz2 samba-0b650edc83b8e5d686b2c1d66b464e85e0bf16ca.zip |
r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)
-rw-r--r-- | swat/login.esp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swat/login.esp b/swat/login.esp index 257567d267..67fd45f8c0 100644 --- a/swat/login.esp +++ b/swat/login.esp @@ -29,7 +29,9 @@ display_form(f); authinfo.rhost = request['REMOTE_HOST']; auth = userAuth(authinfo); - if (auth.result) { + if (auth == undefined) { + write("<b>Invalid login - please try again<br /></b>\n"); + } else if (auth.result) { /* for now just authenticate everyone */ session.AUTHENTICATED = true; |