You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to log resetting passwords and was able to achieve log requesting tokens using reset_password_token_created signal, however I am unable to log specific tokens being used to reset password without overriding ResetPasswordConfirm because the signals pre_password_reset and post_password_reset are only sending the user instance, not the token instance. I can catch a reset being successful, but can't tell which token was used if there are multiple available.
Describe the solution you'd like
Add the reset_password_token instance to the signal calls for pre_password_reset and post_password_reset.
Describe alternatives you've considered
Currently solved the issue by overriding the class and adding the signal myself in my code - however this is not ideal because I have to check on each upgrade of the library that the class hasn't changed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like to log resetting passwords and was able to achieve log requesting tokens using
reset_password_token_created
signal, however I am unable to log specific tokens being used to reset password without overridingResetPasswordConfirm
because the signalspre_password_reset
andpost_password_reset
are only sending the user instance, not the token instance. I can catch a reset being successful, but can't tell which token was used if there are multiple available.Describe the solution you'd like
Add the
reset_password_token
instance to the signal calls forpre_password_reset
andpost_password_reset
.Describe alternatives you've considered
Currently solved the issue by overriding the class and adding the signal myself in my code - however this is not ideal because I have to check on each upgrade of the library that the class hasn't changed.
The text was updated successfully, but these errors were encountered: