anitab-org / anitab-org/mentorship-backend
Bug: Valid Refresh Tokens despite user changing password
オープン
Category: Coding
Type: Bug
- 主要言語
- Python
- スター
- 200
- フォーク
- 449
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
Refresh Tokens are still valid even after the user changes passwords.
**To Reproduce**
Steps to reproduce the behavior:
1. Login and save the refresh token you get.
2. Change password
3. Scroll down to Refresh endpoint and use the old Refresh token.
4. See error
**Expected behavior**
Refresh Tokens should not be valid after a user changes passwords.
**Additional context**
This can be done by using the users hashed password as the secret for the refresh tokens.
コントリビューションガイド
評価
この issue はまだ評価されていません。