The audit trail the audit table captures the User ID… but I’ve noticed that any user that has used auto login it captures their username instead of the User ID.
This only happens with auto login.
Any way to fix this.
Thanks
Uncheck Tools → Advanced Settings → Log user ID instead of user name
Did this and it still records the Username in the User field when the action is autologin.
It seemed that currently autologin always log the user name in the audit trail. You can search for and modify the following codes in the “AutoLoginAsync” method of the “Models/src/AdvancedSecurityBase.cs”:
if (valid)
await WriteAuditLogAsync(model.Username, Language.Phrase("AuditTrailAutoLogin"), CurrentUserIpAddress());