zerobias / telegram-mtproto

Telegram client api (MTProto) library
MIT License
620 stars 136 forks source link

2FA PASSWORD_HASH_INVALID #177

Closed mkliu closed 6 years ago

mkliu commented 6 years ago

So i followed issue #33 and #73 , but it keeps telling me Error: 400 PASSWORD_HASH_INVALID CODE#400 PASSWORD_HASH_INVALID

Anyone able to get this through? @leonerd

mkliu commented 6 years ago

ok, i figured it out myself, I have to convert to buffer and then concat. Let me try to do a pull request