Custom Debug
implementation for User
but not Credentials
in SQLite example?
#130
Unanswered
homeworkprod
asked this question in
Q&A
Replies: 1 comment
-
We could also use something like Updating the example with a custom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
examples/sqlite/src/users.rs
has a customDebug
implementation forUser
"to avoid accidentally logging the password hash."Credentials
has a fieldpassword
, too, but derivesDebug
.Shouldn't
Credentials
have a customDebug
implementation that redacts the password as well by that logic?Beta Was this translation helpful? Give feedback.
All reactions