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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

grasmash’s picture

Added support for the login block.

Kars-T’s picture

Title: Patch - option to add Terms of Use to User Login form » Option to add "Terms of Use" to User Login form
sashkernel’s picture

Is this making into Dev version?

ivnish’s picture

Issue summary: View changes
Status: Needs review » Needs work

Needs reroll to last dev

ivnish’s picture

Status: Needs work » Closed (outdated)

Closed due to inactivity. If it is relevant, we will open it again