Hi,

If your site gets stuck in Maintenance Mode the images for the captcha won't load (ie they 404 because the site is in maint mode).

This means - if you have the site set up to use image captcha for login - you can't login if the site is in Maint Mode...

The 'way around this' is to take the site out of maint mode at the command line (drush state-set system.maintenance_mode 0) but thought I'd mention this as a bug.

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeparker created an issue. See original summary.

gg24’s picture

Status: Active » Needs review
FileSize
842 bytes

Hi,

In maintenance mode, the image CAPTCHA does not work because the request for the image itself won't succeed (only ?q=user is permitted for unauthenticated users). We fall back to the Math CAPTCHA in that case. I have added a patch to fix this issue.
Please review the patch.

Thanks!

gg24’s picture

Removed extra variable.

Thanks!

purushotam.rai’s picture

Status: Needs review » Reviewed & tested by the community

Looks good To Me

  • elachlan committed 7dea9c7 on 8.x-1.x authored by gg24
    Issue #2899256 by gg24: Cannot login to site while in Maintenance Mode
    
elachlan’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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