Statamic 6
Statamic has acquired the Two Factor for Statamic addon, and rolled it in to to the core app for Statamic 6.
The best news: your Statamic 5 users who have set up Two Factor using this addon will continue to work in Statamic 6.
Follow these manual steps to make a smooth transition to Statamic 6.
It is easiest to do these before you run composer update
.
Remove the addon
When you're updating your composer.json
dependencies to upgrade to Statamic 6, make sure you completely remove mitydigital/statamic-two-factor
.
Update your User blueprint
Your User blueprint for Statamic 5 will use this addon's Two Factor fieldtype.
This is no longer needed in Statamic 6.
You will need to manually remove this field from your Blueprint, and have two ways to do this.
If you are still in Statamic 5
Edit your User blueprint and remove the Two Factor field.
If you have already updated composer
If you have already run `composer update` to update to Statamic 6, you'll get an error when trying to do anything with users.
You will need to manually edit your User blueprint yaml, by default in resources/blueprints/user.yaml
.
Simply remove the Two Factor field from your yaml file.