Hello,
I'm making some tests with the authentication framework. Now I have a problem with the login form:
<form target="do-login" method="POST">
<table>
<tr>
<td>
<i18n:text>USERNAME</i18n:text>
</td>
<td>
<input type="text" name="userid"/>
</td>
</tr>
<tr>
<td>
<i18n:text>PASSWORD</i18n:text>
</td>
<td>
<input type="password" name="password"/>
</td>
</tr>
</table>
<br/>
<input type="submit">Login</input>
</form>
If I push the login button it reopens the same page on a new browser window, but I want to go into my pipline:
<map:match pattern="do-login">
<!-- try to login -->
<map:act type="auth-login">
<map:parameter name="handler" value="dbauthentication"/>
<map:parameter name="parameter_userid" value="{request-param:userid}"/>
<map:parameter name="parameter_password" value="{request-param:password}"/>
<map:redirect-to uri="index"/>
</map:act>
<!-- something was wrong, try it again -->
<map:redirect-to uri="login"/>
</map:match>
Does someone see my misstake?
Thanks,
Mike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
