The existing hook hook_tfa_context_alter() does help at least when logging in, but when setting up and viewing the plugins, it still shows the default order. So it may also require a new hook such as hook_tfa_basic_validate_plugin() which can change the validate plugin (and also determine the fallback plugins) during tfa_basic_overview() and other points.
The existing hook
hook_tfa_context_alter()does help at least when logging in, but when setting up and viewing the plugins, it still shows the default order. So it may also require a new hook such ashook_tfa_basic_validate_plugin()which can change the validate plugin (and also determine the fallback plugins) duringtfa_basic_overview()and other points.