I've noticed an error that pops up whenever I try to register a new user in cs50 finance. I've first noticed this today - I've never this problem before, and I've used the registration many times. Here's the error:
DeprecationWarning: the method passlib.context.CryptContext.encrypt() is
deprecated as of Passlib 1.7, and will be removed in Passlib 2.0, use
CryptContext.hash() instead.
I'm not sure why this is...the specification of register says to use pwd_context.encrypt...Anyway, apart from just bringing this to attention, I'd also like to know how to work around it. I can't make heads or tails out of how to use CryptContext.hash(), so if someone could help me with that, it would be greatly appreciated. Thanks in advance.