codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: The window "Forgot your password?" appears on user page right after changing a password and entering the account

Open Nadezhda18 opened this issue 1 year ago • 6 comments

Summary

Google Chrome 130.0.6723.92 (Официальная сборка), (64 бит) ОС Windows 10 Codebattle version: e827c58

Reproduction steps

1. Click on 'Sign In' button on the main page: https://codebattle.hexlet.io/
2. Click on 'Forgot your password?' under the authorization form
3. Enter the email of your existing account
4. Open the link sent to your email
5. Enter the new password
6. Log your account with a new password

Expected result

The main page of user account opens.

Actual result

The window "Forgot your password?" appears

ОШИБКА ПРИ СМЕНЕ ПАРОЛЯ - БАГ

Browsers

Chrome

OS

Windows

Nadezhda18 avatar Jan 12 '25 10:01 Nadezhda18

  • summary: | Открывается окно "Forgot your password?" после входа на аккаунт, на котором был восстановлен пароль environment: | Google Chrome Версия 133.0.6943.142 (Официальная сборка), (64 бит) Windows 11 Pro 24 H2 steps-to-reproduce: |
    1. Нажимаем кнопку "Sing in"
    2. Нажимаем на гиперссылку "Forgot your password?"
    3. Вводим свой email
    4. Переходим в сообщения на своей почте
    5. Открываем письмо восстановления пароля
    6. Переходим по гиперссылке
    7. Вводим новый пароль
    8. Заходим на сайт под новым паролем expected-result: > Авторизируется аккаунт, открывается главная страница сайта actual-result: > Авторизируется аккаунт, открывается форма восстановления пароля

Image

puma0050 avatar Mar 03 '25 18:03 puma0050

  • summary: | Проверка восстановления пароля requirement: | Пользователь может восстановить забытый пароль при переходе по ссылке "Забыли пароль?" prerequisites: | Открыта страница авторизации test-data: | Никнейм = May06 email = [email protected] Пароль = gawkan-qoxbi3-**** steps:
    • нажать "Забыли пароль?"
    • ввести существующий email
    • В почтовом ящике введенного emaila открыть письмо от cdodebattle
    • Перейти по ссылке указанной в письме
    • В открывшемся окне ввести новый пароль
    • Открытьстраницу авторизации пользователя
    • Ввести свой email
    • Ввести новый пароль expected-result: | Пользователь должен попасть на главную страницу actual-result: | Открывается окно с формой для восстановления пароля

Browser Yandex

ОС Windows

Version: 09ccbfe

Image

bangiliana avatar Mar 04 '25 18:03 bangiliana

summary: Password recovery does not work correctly

environment:

  • Google Chrome 134.0.6998.36 (Official Build) (64-bit)
  • OS: Windows 11 23H2 22631.5039
  • Codebattle version: 9425fb5

steps-to-reproduce:

  1. Go to https://codebattle.hexlet.io/
  2. Click the "Sign in" button
  3. Click "Forgot your password?"
  4. Enter an email
  5. Click the "Submit" button
  6. In the inbox of the specified email, find an email from "[email protected]"
  7. Open the email and follow the link
  8. In the "Reset your password" window, enter a new password
  9. Click the "SAVE" button
  10. Go back to the game tab https://codebattle.hexlet.io/remind_password
  11. Click the "Sign in" button
  12. Enter the email
  13. Enter the password
  14. Click the "Submit" button

expected-result: The user should be logged in and redirected to the lobby page https://codebattle.hexlet.io/#lobby

actual-result: The user is logged in, but instead of being redirected to the lobby, the "Forget your password?" form is displayed in the browser

Image

hitriylis avatar Apr 05 '25 11:04 hitriylis

Summary

After setting a new password and successful authorisation, the user is again redirected a password reset window, instead of being redirected to the main page

Environment

  • Yandex Browser: Version 25.2.4.955 (64-bit)
  • OS Windows 10: Version 22H2 19045.5608
  • Codebattle version: 9425fb5

Prerequisites:

  • User has account and access to the email that is attached to his account
  • Forgot your password window is open

Step to reproduce:

  • Enter email that is attached to account
  • Click "Submit" button
  • Open the email that is sent and click the link
  • Set new password
  • Sign in with new password

Expected result:

User is authorised and redirected to main page

Actual result:

After authorisation with new password user is redirected again to "Forgot your password?" page

Image

temuryqudrat avatar Apr 05 '25 15:04 temuryqudrat

Bug: Incorrect operation of the password change function

Summary: After the user logs in with the changed password, a window Forgot your password appears

Reproduction steps

  1. Click on Sign in
  2. Click on Forgot your password ?
  3. Enter your email address
  4. Click on Send
  5. Go to your mailbox mail
  6. Open the email from "[email protected] ».
  7. Follow the link
  8. Enter a new password In the Reset Password field
  9. Click on Save
  10. Go back to the games tab https://codebattle.hexlet.io/remind_password
  11. Click on Sign in
  12. Enter your email address
  13. Enter the new password
  14. Click on Submit

Expected result: The user has been successfully authenticated The main page opens

Actual-result The user sign in the system The page Forgot your password opens

Browser: Google Chrome Версия 135 (Официальная сборка), (64 бит) ОS: Windows 10

Image

Persifona avatar May 27 '25 21:05 Persifona

Summary: Password recovery window after password reset

Screenshot: Image

Reproduction steps:

  1. Click on Sign in
  2. Click on Forgot your password ?
  3. Enter your email address
  4. Click on Send
  5. Go to your mailbox
  6. Click on the password recovery link from the letter
  7. Enter new password
  8. Click Save
  9. Go to the main page of CodeBattle
  10. Click Sign in
  11. Enter new user data
  12. Click Submit

Expected result: Redirect on main page of codebattle with authorized user

Actual result: User sign in the system The Forgot Password page opens

Browsers Google Chrome version 137.0.7151.120 (Official Build) (64 bit)

OS Windows 11 Home V.24H2 (Build 26100.4351)

App version Hexlet Codebattle version https://github.com/hexlet-codebattle/codebattle/commit/376ef8ed458f200e213c080ca239b77b8910a8b2

LeonidStavrov avatar Jun 27 '25 07:06 LeonidStavrov