This module implements a Medium/Slack-inspired password-less login for Laravel sites. It is part of the personal knowledge management system Knowfox.
- Require the module into your project by
composer require knowfox/passwordless
- Install the service provider by adding the line
... in array
Knowfox\Passwordless\ServiceProvider::class,
providers
in yourconfig/app.php
. - Remove the line
... from your
Auth::routes();
routes/web.php
- Define a variable
MAIL_DOMAIN
in your.env
. - Be sure to set your
APP_NAME
to the name of your app. - Fill in a working mail configuration, e.g. through mailtrap.io