open-two-factor-authenticator icon indicating copy to clipboard operation
open-two-factor-authenticator copied to clipboard

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

Open akrautela opened this issue 7 years ago • 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

akrautela avatar Jun 10 '17 07:06 akrautela