* Clean up cookie setting code in User
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Apr 2008 22:59:13 +0000 (22:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Apr 2008 22:59:13 +0000 (22:59 +0000)
commit887d579543664fdb2950a7ba24982eed2dceb5e6
tree7e230153eb32f00af6f5a0dc4a2c30589998f20d
parente34a925007e2714492b9cf3eae61b0aba4d7ec1d
* Clean up cookie setting code in User
* Don't clear the token cookie when mailing a password -- this may belong to a different user entirely! If it's the same user, then no harm; the old cookie just won't have any affect. If they're making someone else's account, this will avoid clearing their own token.
includes/SpecialUserlogin.php
includes/User.php