1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

user_authenticate -> remember_key?

Discussion in 'XenForo Questions and Support' started by middlewingnut, Nov 27, 2012.

  1. middlewingnut

    middlewingnut Member

    Hi all,

    I've got a script that will run through my old forum and import the users, with their passwords (luckily for me, the old database had a plain-text copy).

    I've tested it and it works nicely, but can anyone tell me what data should go in the member_key field of the xf_user_authenticate table?

    Thanks in advance

    Nathan
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    The remember_key is a random string which is generated and included in the cookie that is set when you select "Stay logged in" during log in.

    You will not need to set it, the member will have one allocated when they first log in and select the "Stay logged in" checkbox.
     
    Jake Bunce likes this.
  3. middlewingnut

    middlewingnut Member

    Brilliant - thank you.

    I had pretty much worked out that it was something along those lines.

    Still love the whole Xenforo thing!
     
    MattW and Chris D like this.

Share This Page