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
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
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.