AuthMeReloaded
AuthMeReloaded copied to clipboard
#1524 Drop old TWO_FACTOR hash algorithm, force new password to be input
Deprecates TWO_FACTOR from being configured as the hash algorithm and forces players with a TWO_FACTOR password to set a new password with /register when they log in. I don't know how many servers actually use this so I went with kicking a user after successfully setting a password.
Open question:
- Migrate the two factor secret to the new totp column?
There could be some server that use this method for 2FA in addition to Mojang authentication, but maybe in this case it might be better to choose a dedicated 2FA plugin or what do you think?
Hmm that's a good point. We could have a "mode" in the future that would specify when/how we require a password or a 2FA token, or at least configurable in the config.yml. But for now I'd like to remove the TWO_FACTOR hash method because it's not a hash method and so has various issues (can't migrate away from it as with the other hashes, /changepassword doesn't work, special case when registering, etc.)
@ljacqu any news?
Alright, picking this one up again and making it happen in the course of the week ;)
@ljacqu just as a reminder ;)