moodle-tool_mfa
moodle-tool_mfa copied to clipboard
Allow multiple SMS phone factors to be setup
Allowed more phones is easy but the UX when confirm it at login needs some thought
- [ ] have an admin setting saying how many phones are allowed. 2 seems reasonable so you have a backup. 5 seems silly
- [ ] if you have N phones then you get N sms's, each is with a unique secret
- [ ] if you confirm with any of them then you are good, and then we can track which phone secret was used
The alternative is we cycle through the phones one at a time, for this to work well we need to introduce a concept of a primary phone and then an ordered list. This means we need to order the list of factors which we currently can't do. Either that or the factor is only a single instance but it has N phone numbers inside it. Kinda meh either way.