morethanwords/tweb

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

Closed this issue · 1 comments

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):

  • OS: Linux
  • Browser: Firefox 115.8.0esr
  • Version: Telegram WebK 2.0.0 (486)

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

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