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

XF 1.2 remember_key

Discussion in 'XenForo Questions and Support' started by Tyrone Chicken, Sep 21, 2013.

  1. Tyrone Chicken

    Tyrone Chicken New Member

    In the table user_authenticate there is a column called remember key, what is it used for? I'm guessing its for the "keep me logged in" option, but I'm not entirely sure.
     
  2. Liam W

    Liam W Well-Known Member

    Yes, that'll be it. It's probably a session key, or something of the like.

    Someone else may be able to give a definitive answer.
     
    Tyrone Chicken likes this.
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    The cookie that is set after a user selects Remember Me contains the following information:
    user_id,remember_key

    The key is used to authenticate a user via this method and prevent spoofing of the login. If it was just user_id, anyone could say, login as me just by setting the cookie to include my ID.
     
    Tyrone Chicken and Liam W like this.

Share This Page