elloro / craft-login-link
Generate one-time login links from the terminal
Package info
github.com/elloro-nl/craft-login-link
Type:craft-plugin
pkg:composer/elloro/craft-login-link
6.0.0
2026-08-26 09:31 UTC
Requires
- craftcms/cms: ^6.0.0-alpha.17
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Generate one-time login links from the terminal.
For Craft CMS 6, use the
6.xbranch / 6.x releases.
Requirements
- Craft CMS 5.0+
- PHP 8.2+
Installation
composer require elloro/craft-login-link:^5.0 php craft plugin/install login-link
Usage
php craft login-link/generate <username-or-email> [--expiry=60]
Prints a tokenized URL (valid for --expiry minutes, default 60) that logs the user in and redirects to the control panel. The token is single-use: Craft's token service routes the request to the plugin's auth controller and the token is consumed on first use.