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.
If the home page requires a password, Drush commands fail. This patch checks for Drush (see instructions in drush.php) in protected_node_init() and allows it to bypass.
Comment | File | Size | Author |
---|---|---|---|
#1 | protected_node-drush_bypass-2032449-2.patch | 795 bytes | vinmassaro |
Comments
Comment #1
vinmassaro CreditAttribution: vinmassaro commentedComment #2
GrimreaperHello,
I just test it. It works thank you. I change the status to review and tested by the community.
Test case :
- front page = node/1 (protected bya password)
- I tried drush cc all
- do not work without the patch
- work with the patch
Thank you
Comment #3
izus CreditAttribution: izus commentedmerged.
Thanks all