Why logout doesn't work from my extension

Can anyone please explain here step by step about how to add token to the request to make logout button work properly?

Good idea. Done. Chris Davenport 09:09, 19 March 2011 (UTC)

Perhaps this should be specifically noted: add the code in templates/mytemplate/html/mod_login/name of my alternative layout which comes from here [1]. I was confused at first where to add the code and had added it to the wrong version of the file.--Crossmr 06:21, 3 April 2011 (UTC)