Skip to content

feat: differentiate new user registration from user login in the audit log #7096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update coderd/audit/request.go
Co-authored-by: Colin Adler <colin1adler@gmail.com>
  • Loading branch information
Kira-Pilot and coadler authored Apr 12, 2023
commit b101e6149a1f8b5a54545d7c72040472c233aff4
2 changes: 1 addition & 1 deletion coderd/audit/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func InitRequest[T Auditable](w http.ResponseWriter, p *RequestParams) (*Request
return
}

var action database.AuditAction = p.Action
action := p.Action
if req.Action != "" {
action = req.Action
}
Expand Down