Kyrne yes was working. After update to Beta 8.1 is not working. Is active but nothing... i can login without two factor also if i deactivate it and reactivate there is no two factor button on the profile.
I removed the extension for try to reinstall but gives errors:
[...]$ composer remove reflar/twofactor
Dependency "flarum/core" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 0 updates, 6 removals
- Removing twilio/sdk (5.26.0)
- Removing symfony/polyfill-util (v1.10.0)
- Removing symfony/polyfill-php56 (v1.10.0)
- Removing reflar/twofactor (0.1.0-beta.3)
- Removing pragmarx/google2fa (v3.0.3)
- Removing paragonie/constant_time_encoding (v2.2.2)
Writing lock file
Generating autoload files
[...]$ composer require reflar/twofactor
Using version 0.1.0-beta.4.1 for reflar/twofactor
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: flarum/core[v0.1.0-beta.8.1, v0.1.0-beta.8].
- Can only install one of: flarum/core[v0.1.0-beta.8, v0.1.0-beta.8.1].
- Can only install one of: flarum/core[v0.1.0-beta.8, v0.1.0-beta.8.1].
- reflar/twofactor 0.1.0-beta.4.1 requires flarum/core 0.1.0-beta.8 -> satisfiable by flarum/core[v0.1.0-beta.8].
- Installation request for reflar/twofactor 0.1.0-beta.4.1 -> satisfiable by reflar/twofactor[0.1.0-beta.4.1].
- Installation request for flarum/core (locked at v0.1.0-beta.8.1, required as ^0.1.0) -> satisfiable by flarum/core[v0.1.0-beta.8.1].
- Installation failed, reverting ./composer.json to its original content.