[wp-hackers] Login System Patch
Owen Winkler
ringmaster at midnightcircus.com
Sun Jan 23 15:27:08 GMT 2005
Robert Deaton wrote:
>After countless problems with logging in and the silly redirects in
>wp-login.php, I sat down and wrote a new method of logging in. This
>patch allows you to login from any page that you call its function
>(authorize();) on, whether it be inside or outside the admin section,
>and doesn't ever redirect you away from the page you are trying to
>visit. (The one header to redirect is to refresh the page, that way
>you are sure the bits of code that execute before you're logged in
>reexecute to update the fact that you're logged in, but it only does
>this once on the initial login).
>
>
I have not tried this yet, but I like it very much in concept. It's
similar to how I handle logins in most of my personal PHP projects (that
don't use PEAR).
Owen
More information about the hackers
mailing list