How to do an auto login with WP 2.5?
-
Hi all,
I am trying to integrate wp 2.5 in an existing website. Now for the admin part i don’t want to let the user login twice. As this is only for one user i even tried the stored user_pass with user_login but it doesn’t seem to work.
i have tried to compare stored user_pass with a hardcoded password but the hardcoded password is not read right
[php]
$storedPass = “….RWwVEO2EP13.lL”;
$passwd= “….RWwVEO2EP13.lL”;WP_Integration::wp_login( $username, $passwd, true );
but now Hard password: gives just .1L??
class WP_Integration {
function wp_login( $userid, $pass, $already_md5 = false)
{
print $pass;}
[/php]How can i auto login, it can even be hardcoded?
regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to do an auto login with WP 2.5?’ is closed to new replies.