richardhj/contao-email-token-login

v1.3.4 2021-12-06 17:32 UTC

This package is auto-updated.

Last update: 2024-11-16 01:30:46 UTC


README

Latest Version on Packagist Software License

Alternative login form, in case your members don't necessarily have nor need a password.

The login form just asks for the username (or email if mailusername is installed). The user submits the form and receives an email (notifications are managed by notification center). The user gets logged in when they hit the login in link within the email. The login link expires after 2 hours and immediately logs in the user.

Klarna is using this approach as well:

Configuration:

  1. Create a new notification of type "token login".
  2. Place the token ##link## in the message. For html emails, you can additionally add the token ##login_form_html##.
  3. Create a module of type "token login". Select the notification, select a jumpTo page, place the module somewhere on the website.

Changelog

Please consult the CHANGELOG.