Two Factor Login for Statamic 3
Statamic 2FA is a middleware addon for Statamic 3 that adds 2FA (2 factor) auth to the control panel of Statamic 3 using time based codes.
Statamic 2FA is commercial software. You do not need a licence for development but when you are ready to deploy the site to production please purchase a licence per site on the Statamic Marketplace.
Install the addon using composer
composer require kind-work/two-fa
Copy over the assets
php artisan vendor:publish --provider="KindWork\TwoFa\ServiceProvider" --force
two_fa field to your user blueprint. Edit your user profile in the control panel (CP) to set up 2FA protection for your account.
title: User sections: main: display: Main fields: - handle: name field: type: text display: Name - handle: email field: type: text input: email display: 'Email Address' - handle: roles field: type: user_roles width: 50 - handle: groups field: type: user_groups width: 50 - handle: avatar field: type: assets max_files: 1 - handle: two_fa field: type: two_fa localizable: false display: 'Two FA'
JRC9 Design Studio
JRC9 Design Studio empowers change makers by creating and managing their web presence, enabling them to reach a broader audience and focus on changing the world.More by JRC9 Design Studio