Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCK-62/change_password | Добавлен бек смены пароля и тесты к нему. #96

Merged
merged 2 commits into from
Aug 4, 2024

Conversation

CuriousGecko
Copy link
Collaborator

No description provided.

@CuriousGecko CuriousGecko changed the title Добавлен бек смены пароля и тесты к нему. BCK-62/change_password | Добавлен бек смены пароля и тесты к нему. Jul 25, 2024
status_code=status.HTTP_400_BAD_REQUEST,
detail='Старый пароль неверен.',
)
elif new_password != confirm_new_password:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно просто if
и читается легче чем elif

@kokhlo kokhlo self-assigned this Jul 31, 2024
@kokhlo kokhlo merged commit 9fce76f into develop Aug 4, 2024
3 checks passed
@kokhlo kokhlo deleted the BCK-62/change_password branch August 4, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants