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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vinmassaro’s picture

Status: Active » Needs review
FileSize
795 bytes
Grimreaper’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Hello,

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

izus’s picture

Status: Reviewed & tested by the community » Fixed

merged.
Thanks all

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.