Author: tridge Date: 2005-07-22 07:21:59 +0000 (Fri, 22 Jul 2005) New Revision: 8708
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8708 Log: fixed an assert that abartlet found Modified: branches/SAMBA_4_0/swat/login.esp Changeset: Modified: branches/SAMBA_4_0/swat/login.esp =================================================================== --- branches/SAMBA_4_0/swat/login.esp 2005-07-22 06:52:46 UTC (rev 8707) +++ branches/SAMBA_4_0/swat/login.esp 2005-07-22 07:21:59 UTC (rev 8708) @@ -29,7 +29,9 @@ 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;