This is a request to make the persistent login compatible with login substitutes like fancy login

Currently function persistent_login_form_alter() only checks for user_login. You might extend that to check for all form ids containing the string 'user_login', or you could provide an interface with form ids to choose from in the backend. The fancy login form id is 'fancy_login_user_login_form'

Comments

New Zeal created an issue. See original summary.

gapple’s picture

If Persistent Login implements hook_form_user_login_form_alter() instead of string matching in hook_form_alter(), any form that specifies user_login_form as it's base form id with BaseFormIdInterface will also be altered.

I've opened #2934251: Implement BaseFormIdInterface in FancyLoginLoginForm for Fancy Login.

  • gapple committed 691e76e on 8.x-1.x
    Issue #2863067: Use hook_form_FORM_ID_alter to add field to forms
    
    This...
gapple’s picture

Version: 8.x-1.0-alpha3 » 8.x-1.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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