We have a user with 2FA enabled, and we cannot disable it for them.
Clicking the ‘Disable’ button on their account gives us:
(You supplied invalid parameters to the request: Discourse::InvalidParameters)
There is no row in the users_second_factors
table for the user_id. I’ve tried adding a dummy row, which lets me click the ‘Disable’ button without error, but just deletes my dummy row and still leaves 2FA enabled for the user.
I’ve also tried the rake users:disable_2fa[username]
rake task, which says 2FA disabled for user
, but still shows Two Factor Authentication: Yes
on the user’s profile in admin.
Anything else I can try?