On May 23, 2006, at 8:39 PM, Cees Hek wrote:

On 4/29/06, Ed Pigg <[EMAIL PROTECTED]> wrote:
If I want to replace the built-in login form I need a method that
will generate the html form correct? So in my base class do I create

sub login_box {

}

or do I create a separate login sub.

Looks like I am probably a little bit late for this one.  Sorry!

What you can do is create a runmode that generates a login HTML page.
Then just set the LOGIN_RUNMODE config parameter to tell the Authen
plugin to redirect to that runmode when a login is required.  You can
also provide an external URL through LOGIN_URL, which could be used to
send a user to a central authentication website.

Will that work if you are protecting all runmodes? You know, chicken/ egg sort of thing? You want to protect all, but you need the LOGIN_RUNMODE to log in, but all runmodes are protected, but you.....

I've figured a way to make things work, but I'm always looking for a better way.

Ed Pigg

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to