Fix missing attributes on token audit events
The bug is caused by the column value being overwritten will nil value in the `details` hash. The `after_validation` callback always writes the column value using the `details` value, regardless whether it has been specified or not. This change ensures nil check was performed before setting values in both column and `detail` hash. The column value takes precedence over the `details` value. Changelog: fixed EE: true
Showing
Please register or sign in to comment