Jump to content

Help:Force all users to log in afresh

From Wikitech

In case you need to reset logins on wikitech, from labweb1001 or labweb1002:

$ sql labswiki
 mysql:wikiadmin@m5-master [labswiki]> truncate openstack_tokens;
$ mwscript resetUserTokens.php labswiki
$ sudo service memcached restart

Note: memcached needs to be purged on both labweb1001 and labweb1002 because session data is sharded between both instances.