1.0.2
- fix: enter key triggers page reload by @IanM in imorland/flarum-ext-twofactor7
Updating
composer update ianm/twofactor
php flarum cache:clear
composer update ianm/twofactor
php flarum cache:clear
Derbosik Any way to make the logo transparent?
Why would you want the logo transparent, when it's supposed to punch out the centre of the QR code?
Anyhow, I've created an issue (imorland/flarum-ext-twofactor8) to implement an image uploader for the QR logo, rather than re-using the forum logo. I'll implement that as soon as I have time.
Derbosik Also, the fix for the menu not disappearing after verifying is not working. Tried updating and reinstalling.
I cannot replicate the problem anymore (since 1.0.1
anyway). Are you sure you cleared the cache?
If that does not help, please provide exact steps to replicate the issue and I'll take another look at it.
Nice!
Hopefully we will get Yubikey/Hardwallets support in the future as well.
composer update ianm/twofactor
php flarum cache:clear
It works now, but after closing the Backup Codes popup, the banner is not removed.
after i installed this my flarum site is not working
im getting this error
Flarum encountered a boot error. Details have been logged to the Flarum log file.
may i know how i can uninstall this ?
fof/oauth
is not installed imorland/flarum-ext-twofactor10This was caused by an issue with the Conditional
extender in flarum/core
instantiating the conditional extenders when the condition was false
. A fix for this will be made available soon (flarum/framework3898)
composer update ianm/twofactor
php flarum cache:clear
Without seeing the logfile, it's difficult to say what the issue is, but my guess would be that you don't have fof/oauth
installed on your forum? This is an optional dependency, but was causing a boot error when not installed.
If that's the case, then updating 2FA to the latest version 1.0.4
will solve your issue, otherwise you can remove 2FA with this command:
composer remove ianm/twofactor
Please provide the error from your logfile if you'd like me to look into the problem further..
[abhidnpc@server319 flarum]$ composer remove ianm/two-factor
ianm/two-factor is not required in your composer.json and has not been removed
./composer.json has been updated
Running composer update ianm/two-factor
Loading composer repositories with package information
Package "ianm/two-factor" listed for update is not locked.
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package fgrosse/phpasn1 is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package zerosonesfun/flarum-member is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
99 packages you are using are looking for funding.
Use the composer fund
command to find out more!
No security vulnerability advisories found
i tried uninstall, my website still getting same error
Abhinaytrader sorry, my mistake, the command is
composer update ianm/twofactor
or
composer remove ianm/twofactor
finally website started working. thanks @IanM
Derbosik The same error was made when the extension Draft was updated by Ianm, seems same error is happening after this update, reading your message. You may need wait a reply and maybe an update fix.
I'm using a different two facto extension so I don't have this issue and never try this extension yet
I hope in the future Flarum can have some workflow that avoid extension to create this error that forbid admin to access the admin side and also front end side.
For remove the error you may remove the extension:
# composer remove require ianm/twofactor
Be sure to made a backup before do this, two factor will be disabled if the extension is removed.
when i enabled this version of 2FA, it working nicely for forgot-password
but i cannot login after logout...
after that i change to https://github.com/Nearata/flarum-ext-twofactor