-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
♻️ Refactored code to use encryption algorithm name from settings for consistency #1160
Conversation
324a7d9
to
4dd0555
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Thank you @menkotoglou, please let me know what else I need to do in order to get this PR merged. |
@sameeramin unfortunately I cannot do anything about it, since I'm not a repo maintainer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the interest!
I don't think the algorithm should be configurable in the settings, it shouldn't really be variable. Let's better keep it in security.py
.
But I agree that the backend utils should use the same variable from security.py
. 🤓 Could you please update that?
Sure, I'll update that! |
4dd0555
to
33d74b2
Compare
Hello @tiangolo, I have incorporated your suggestions |
Great, thanks @sameeramin! 🚀 🍰 |
… consistency (fastapi#1160) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
No description provided.