[wp-hackers] Force login

Stefano Aglietti steagl4ml at gmail.com
Mon Sep 7 18:25:45 UTC 2009

I wanna force WP login fron another DB, i use the externa DB
authentication plugin and this works smootly, but i wanna d one more
step, the blog header is coming from another system and there i get
the info if the user is logged to the other system, if so i wanna foce
the login letting the extern DB auth plugin check if the the user
exist in WP DB or copyng it locally.

This works if users log using WP login screen, i tried to use
wp_authentication command with login e password for externa
authentication btut looks like it doens't works.

Any idea how to foce login to WP passing loginn and password (and
letting the plugin intercep wp_authentication function that it plug
with tit's function) in a simple way?


Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
       http://www.wordpress-it.it (WordPress Italia)

More information about the wp-hackers mailing list