audited
audited copied to clipboard
redacted is not applied on create
when saving the audit for a create action, fields marked as redacted have their value saved in the database, on update the value is correctly ignored
I was able to replicate this. Unrelated, but I also noticed that it includes the redacted element (with its redaction_value) in the audited_changes column whether it was changed or not, which it probably shouldn't. I was responsible for the redacted feature, so will do my best to fix this.
Fixed in audited 5.1.0 (2022-12-23) via #630