morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 595 forks source link

[BUG] Changing password fails if I press "Skip" when asked for a hint #307

Closed abacabadabacaba closed 8 months ago

abacabadabacaba commented 8 months ago

Describe the bug When changing the password for two-step verification, I am asked to enter a hint. If I press "Skip" there, changing password will hang with errors shown in the browser console.

To Reproduce Steps to reproduce the behavior:

  1. Proceed to change your two-step verification password
  2. When asked to enter the hint, press "Skip"
  3. Try to complete the procedure of changing the password.
  4. It won't finish.

Expected behavior Password change should work.

Desktop (please complete the following information):

Additional context If I press "Continue" instead of "Skip", changing the password works, even if I don't enter any hint.

morethanwords commented 8 months ago

Thank you for the report! Fixed, will be live today.