Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
After February 6, this site will no longer have Facebook, Twitter, or OpenID sign-in options. Read our announcement about social media SSO support in 2.8 for more info.

Make sure you have a current, valid email address set in your profile and set a password so you can login without it. If you get locked out after that time, you can choose "Forgot Password" to fix it as long as a valid email is on your account.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Force all users to relogin

I am trying to reset everyone's login session to force everyone to relogin. Is it possible to do this?

Comments

  • LincLinc Director of Development Detroit Vanilla Staff
    edited December 2017

    Yeah, just alter the cookie salt in the config. Just pick 1 letter and change it (to any other letter) is the easiest way. As soon as you save it, all logins will end.

  • So with this line in config.php...

    $Configuration['Garden']['Cookie']['Salt'] = 'bf9oCwTa3DAb0rBD';

    Just change one of those characters in the salt?

    Thank you.

    subdreamer
  • LincLinc Director of Development Detroit Vanilla Staff
    edited December 2017

    Yup.

    Also, the salt is supposed to be secret. If that was your real one, I'd randomly generate an entirely new one now instead of just changing a character. Not quite as bad as posting your database password online, but not good either.

    subdreamer
Sign In or Register to comment.