Skip to content

Commit 7846882

Browse files
committed
fixup! feat: add audit logs for dormancy events
1 parent 764bc25 commit 7846882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/userauth.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"github.com/coder/coder/v2/coderd/cryptokeys"
2828
"github.com/coder/coder/v2/coderd/idpsync"
2929
"github.com/coder/coder/v2/coderd/jwtutils"
30+
"github.com/coder/coder/v2/coderd/util/ptr"
3031

3132
"github.com/coder/coder/v2/coderd/apikey"
3233
"github.com/coder/coder/v2/coderd/audit"
@@ -1507,6 +1508,7 @@ func (api *API) oauthLogin(r *http.Request, params *oauthLoginParams) ([]*http.C
15071508
Email: params.Email,
15081509
Username: params.Username,
15091510
OrganizationIDs: orgIDs,
1511+
UserStatus: ptr.Ref(codersdk.UserStatusActive),
15101512
},
15111513
LoginType: params.LoginType,
15121514
accountCreatorName: "oauth",

0 commit comments

Comments
 (0)