Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

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

  • Options
    LincLinc Detroit Admin
    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.

  • Options

    So with this line in config.php...

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

    Just change one of those characters in the salt?

    Thank you.

  • Options
    LincLinc Detroit Admin
    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.

Sign In or Register to comment.