FlexibleLogin icon indicating copy to clipboard operation
FlexibleLogin copied to clipboard

Bug in 0.17.4 (a newest relelase): hashAlgo=totp ignored.

Open HeroBrine1st opened this issue 5 years ago • 1 comments

Code with bug located at com.github.games647.flexiblelogin.commands.RegisterCommand:68

if ("totp".equals(settings.getGeneral().getHashAlgo())) {

String "totp" is compared to HashingAlgoritm. Such a comparison always return false.

I tried to fix this with: if(HashingAlgorithm.TOTP == settings.getGeneral().getHashAlgo()) This fix should work, but i can't compilate plugin correctly (I using Intellij IDEA), so I here.

P.s. If it worked out, I'd send a Pull Request. Wasn't lucky

HeroBrine1st avatar Jun 07 '19 18:06 HeroBrine1st

@games647 I'm running into this as well, any idea if we could get a fix? Thanks!

Happy to throw some money behind this if that helps!

jaredallard avatar Oct 28 '19 01:10 jaredallard