WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Login procedure without using plugin: it seems like cookie is not set!

[Resolved] Login procedure without using plugin: it seems like cookie is not set!

Viewing 1 replies (of 1 total)
  • I gave up this way…. i simply passed my html login form to wp_login.php with the wp_login_url():

    <div id="site_wrap" class="core">
    				<form id="login" action="<?php echo wp_login_url( get_permalink() ) ?>" method="post">
     					<label for="log">Email:</label><input type="text" name="log" value="" />
    					<label for="pwd">Password:</label><input type="password" name="pwd" value="" />
    					<button name="submit" type="submit">Accedi</button>
    				</form>
            </div><!-- /end #site_wrap -->

    But i’m still curious why the wp_set_auth_cookie didn’t not working…anyways i got the solution!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Login procedure without using plugin: it seems like cookie is not set!’ is closed to new replies.
Skip to toolbar