jaimehgb / RaiWebWallet

Raiblocks raiwallet.com wallet source code
http://raiwallet.com
GNU General Public License v3.0
112 stars 37 forks source link

If 2FA is prefilled (can happen on Chrome) then the 2FA box never is unhidden #11

Closed oztbizzle closed 6 years ago

oztbizzle commented 6 years ago

I can't fix this as the code isn't public. Essentially if the 2FA box has something in it from the last login which can occur for me with Chrome and LastPass then you have to manually edit the display:none on the 2fa box

jaimehgb commented 6 years ago

I guess it may work if the input is created and appended to the DOM instead of unhidding it when the 2fa code needs to be entered.

https://github.com/jaimehgb/RaiWebWallet/blob/master/js/custom.js#L943

oztbizzle commented 6 years ago

Perfecto!