• Resolved Brian P

    (@bburgay)


    Hi,

    Is there a setting in the plugin to auto login the user on register? It seems like this option would be standard but I can’t find anything for it. I already have code in place to handle it but wanted to know if there’s a setting I’m missing.

    Thanks,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    There is no setting for auto login at registration. I would say that whether that is “standard” or not is a matter of opinion with regards to how you want the user experience to be (I actually get a lot of support requests for information on how to disable the auto login in WooCommerce).

    If you are going to automatically log someone in, you can do that in a function hooked to the wpmem_post_register_data action. (Hooking it to WP’s user_register action would not be recommended since there are things the plugin does after that but before wpmem_post_register_data).

    There is also a tutorial and code available for implementing an auto login feature in the code snippet library that is available to premium support subscribers.

    • This reply was modified 5 years, 10 months ago by Chad Butler.
    Thread Starter Brian P

    (@bburgay)

    Hi Chad,

    Thanks for letting me know. I didn’t mean standard as in it’s what most would want to default to but figured there would be an option for it.

    Thanks,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto Login on Register’ is closed to new replies.