[ic] login error- advances user to next page but does not log them in

Donald Lin interchange-users@lists.akopia.com
Mon Jul 2 10:50:00 2001


Hello. I am trying to get my login page to work correctly and I can't seem
to figure out what is wrong. When the user successfully types in a username
and password, I want them to be sent to the index page. Right now, it
advances them to the index page but does NOT log them in. I am using very
similar code from the one they use on the akopia site and am using a catalog
I built. I have the userdb table with the same fields as the construct
something demo.
When i check [data session failure] I get a "Invalid user name or password."
error and when I check the error_log I get a "[29/June/2001:17:28:08 -0400]
kosher /kosher/
kosher.cgi/process Attempted login by user 'test' with incorrect password"
but I am typing in the correct password. I have also included the code. Does
anyone know what is wrong? Thanks in advance.

Donald

   [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 TYPE=hidden NAME=mv_todo VALUE=return>
      <INPUT TYPE=hidden NAME=mv_nextpage VALUE=index>
      User <INPUT NAME=mv_username SIZE=10><br>
      Pass <INPUT NAME=mv_password type=password SIZE=10><br>
      <INPUT TYPE=submit VALUE="Log In">
    </FORM>
        [data session failure]