Auto Login Links

Auto Login Links are integrated with all outgoing emails if there is a user with the recipient email address.

It will be integrated into all outgoing emails unless:

  • more than one recipient. (including cc/bcc addresses)
  • If the mail excluded
  • The user does not exist with the given email address.

Hooks:

magic_login_add_auto_login_link: filter to modify whether add or not add login links at the end of the mail

magic_login_auto_login_link_message: filter to modify appended login message.

magic_login_auto_login_link_excluded: filter whether auto login link excluded or not for given email

magic_login_auto_login_excluded_subjects: filter for alter excluded subjects.

By default, the login links won’t be sent with the following messages:

  • [%s] New Admin Email Address
  • [%s] Network Admin Email Change Request
  • [%s] Admin Email Changed
  • [%s] Notice of Network Admin Email Change
  • [%s] Login Details
  • [%s] Password Reset
  • [%s] Password Changed
  • [%s] Email Change Request

This feature has been available since version 1.6