It's difficult to see from the code why #token is being unset in some cases. Added two-line comment to explain why.

CommentFileSizeAuthor
#2 fcomment2.patch717 bytesjvandyk
fcomment.patch663 bytesjvandyk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Status: Needs review » Needs work

... because the token is based on -- besides other things -- the session id.

jvandyk’s picture

Status: Needs work » Needs review
FileSize
717 bytes

I disagree that we need to explain that far. We should just give the reason it's being unset, not the details. If they want the full explanation they can look at http://drupal.org/node/51303. So I prefer the first patch, but here's one with an additional line just for chx. :)

drumm’s picture

Status: Needs review » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)