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.
Resetting user's password while it's beign blocked causes error:
Warning: Cannot modify header information - headers already sent by (output started at /includes/common.inc:2697) funktiossa drupal_send_headers() (rivi 1216 tiedostossa /includes/bootstrap.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | user-2040691-1.patch | 650 bytes | lauriii |
Comments
Comment #1
lauriiiHere's a patch for this
Comment #2
mgifford@lauriii does this work in D8?
Comment #3
lauriiiThis does work in Drupal 8
Comment #5
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedThis header error was fixed in D7 here: #1426122: Some callbacks return junk when calling drupal_not_found(); replace with return MENU_NOT_FOUND instead. (added drupal_exit()) and the possibility to block users from sending reset password while they are blocked is being backported/discussed here: #753898: Wrong message for blocked users who request password reset.
So I think this can be closed.