[ic] i'm stupid.
Mon, 22 Jan 2001 08:48:01 -0800
Mike Heins wrote:
> Quoting Cameron Germein (firstname.lastname@example.org):
> > Can anyone tell me why this following section of code doesn't log me in?
> > It doesn't even touch the userdb, i can enter whatever i like in those
> > boxes, and it just goes straight on to the nextpage. I don't understand it.
> > This is almost precisely what is in the documentation, yet it simply does
> > nothing. I'm tearing my hair out here :(
> > [set Login]
> > mv_todo=return
> > mv_nextpage=index
> > [userdb function=login]
> > [/set]
> > <FORM ACTION="[process-target]" METHOD=POST>
> > <input type=hidden name=mv_click value=Login>
> > <INPUT NAME=mv_username SIZE=15>
> > <INPUT TYPE=password NAME=mv_password SIZE=15>
> > <INPUT TYPE=submit VALUE="Log in">
> > </FORM>
> It should. Check the error log and [data session failure] to find out
> why it doesn't. (Possible problems include the crypt setting.)
Is it because the submit value is "Log in" (with a space) and the [set] tag
is using "Login" (without a space)?