It would be nice to be able to force the user to login on the login page. I'm adding a patch that does just that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bennybobw’s picture

Status: Active » Needs review
FileSize
1.47 KB

Here's a small patch.

spiffl’s picture

FileSize
1.12 KB

I was having difficulties to apply the patch by bennybobw so here's the same thing rewritten in plain text with a minor adjustment.

iMiksu’s picture

Status: Needs review » Needs work

Hmm, that looks almost good, but I think we need to remove the new variable (commerce_extra_login_page_force_login) when uninstalling the module.

bennybobw’s picture

Status: Needs work » Needs review
FileSize
1.71 KB

Fixed my patch issue. Here's the rerolled patch

5n00py’s picture

Status: Needs review » Needs work
FileSize
1.88 KB

I fixed patch (formatting and file paths).
When I uncheck setting, form still require login. It need to be fixed.