Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's difficult to see from the code why #token is being unset in some cases. Added two-line comment to explain why.
Comment | File | Size | Author |
---|---|---|---|
#2 | fcomment2.patch | 717 bytes | jvandyk |
fcomment.patch | 663 bytes | jvandyk | |
Comments
Comment #1
chx CreditAttribution: chx commented... because the token is based on -- besides other things -- the session id.
Comment #2
jvandyk CreditAttribution: jvandyk commentedI 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. :)
Comment #3
drummCommitted to HEAD.
Comment #4
(not verified) CreditAttribution: commented