inbasic/open-two-factor-authenticator

Doesn't work if a key is entered with a username instead of an email

akrautela opened this issue · 0 comments

Please look into the code and fix this asap.
When we provide Open 2FA with a key of this format
otpauth://totp/LinodeManager%3A[username]?secret=[secretkey]

as the functions tries to split the key and get email from the key, the resulting variables in left undefined and thus when called shoots an error.

Emails are not necessary in a key, so please remove this kind of code implementation asap.

Thanks

Find this helpful, please donate a star, won't take long.

Cheers