audited icon indicating copy to clipboard operation
audited copied to clipboard

Set user_id and user_type on sign_up with devise

Open eltonsantos opened this issue 2 years ago • 0 comments

When I create a new user through the sign_up of devise in the audits table the user_id and user_type are registered as NULL and therefore the application crash. How to assign a user_id and a user_type to this new registered user through devise sign_up?

eltonsantos avatar Jan 30 '22 05:01 eltonsantos