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.
Some sites require that you agree to the Terms of Use each time that you login. I've create a patch that add this option to the Terms of Use settings page.
To accomplish this, moved the TOU form generation logic to a separate function (terms_of_use_generate_form), which can be called by both terms_of_use_form_user_register_form_alter and terms_of_use_form_user_login_alter.
Comment | File | Size | Author |
---|---|---|---|
#1 | add-login-support-1329532-1.patch | 4.3 KB | grasmash |
add-login-support.patch | 2.82 KB | grasmash |
Comments
Comment #1
grasmash CreditAttribution: grasmash commentedAdded support for the login block.
Comment #2
Kars-T CreditAttribution: Kars-T commentedComment #3
sashkernel CreditAttribution: sashkernel commentedIs this making into Dev version?
Comment #4
ivnish CreditAttribution: ivnish commentedNeeds reroll to last dev
Comment #5
ivnish CreditAttribution: ivnish commentedClosed due to inactivity. If it is relevant, we will open it again