richardhj / contao-email-token-login
Installs: 539
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 5
Forks: 8
Open Issues: 6
Type:contao-bundle
Requires
- php: >=7.1
- contao/core-bundle: ^4.9
- patchwork/utf8: ^1.3
- symfony/config: ^4.2 || ^5.1
- symfony/dependency-injection: ^4.2 || ^5.1
- symfony/http-kernel: ^4.2 || ^5.1
- terminal42/notification_center: ^1.4
- twig/twig: ^2.12 || ^3.0
Requires (Dev)
- contao/easy-coding-standard: ^4.0
- contao/manager-plugin: ^2.1
This package is auto-updated.
Last update: 2024-11-16 01:30:46 UTC
README
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:
- Create a new notification of type "token login".
- Place the token
##link##
in the message. For html emails, you can additionally add the token##login_form_html##
. - 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.