WordPress.org

Ready to get started?Download WordPress

Forums

Login form - remember me problem (1 post)

  1. nd_macias
    Member
    Posted 3 years ago #

    Hello,

    I'm using wp_login_form() with $args:

    $args = array(
            'echo' => true,
            'redirect' => '/login',
            'form_id' => 'loginform',
            'label_username' => __( 'Username' ),
            'label_password' => __( 'Password' ),
            'label_remember' => __( 'Remember Me' ),
            'label_log_in' => __( 'Log In' ),
            'id_username' => 'user_login',
            'id_password' => 'user_pass',
            'id_remember' => 'rememberme',
            'id_submit' => 'wp-submit',
            'remember' => TRUE,
            'value_username' => TRUE,
            'value_remember' => TRUE
    	);

    wp_login_form($args);

    Evertyhing seems to work fine except of Remember checkbox. I mean - it doesn't remember anything, althought cookies are on. Any idea?

Topic Closed

This topic has been closed to new replies.

About this Topic