As an aside, you might want to make that form method a POST instead of
a GET.  See http://issues.apache.org/bugzilla/show_bug.cgi?id=38383
(and http://www.mail-archive.com/user@lenya.apache.org/msg02917.html
for more details)

On 5/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Christian,

You can just copy the <form...>...</form> section from the login page
to the XSLT (xslt/page2xhtml.xsl).  The standard non-SSL login just
adds "username" and "password" fields to a GET querystring with
"lenya.step=login". Here is the simplest HTML for the default pub:
<form method="get">
<input value="login" name="lenya.usecase" type="hidden"><input
value="login" name="lenya.step" type="hidden">
<br>Username: <input type="text" name="username">
<br>Password:<input type="password" name="password">
<br><input value="Login" type="submit">
</form>

Be careful not to nest <form> elements.

More information on this topic is available at:
http://solprovider.com/lenya/security
Its usefulness depends on the method used to create a protected area.

solprovider

On 5/2/07, Christian Hoofe <[EMAIL PROTECTED]> wrote:
> I've added a protected live area. I need a login screen for this area, which
> does not show the Apache Lenya screen. The form should integrated into the 
site
> design (xslt/page2xhtml.xsl).
>
> Thanks, Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to