XF 1.1 Reset Forum Cookies?

intradox

Well-known member
Is it possible to reset the forum cookies to require any users currently with a session to log back in?
 
You can't directly reset cookies on the client, but setting a different cookie prefix will have the same effect by invalidating all of the old cookies. Add this to your library/config.php file:

Rich (BB code):
$config['cookie'] = array(
	'prefix' => 'xf_',
	'path' => '/',
	'domain' => ''
);

xf_ is the default. Set it to something else. That should log everyone out.
 
Top Bottom