From 0b650edc83b8e5d686b2c1d66b464e85e0bf16ca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Jul 2005 07:21:59 +0000 Subject: r8708: fixed an assert that abartlet found (This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c) --- swat/login.esp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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("Invalid login - please try again
\n"); + } else if (auth.result) { /* for now just authenticate everyone */ session.AUTHENTICATED = true; -- cgit