Skip to content

Commit 91e989a

Browse files
committed
fix: add UserSignedUpAction to the audit log when the user is unconfirmed
This fixes a leftover bug following PRs supabase#395 and supabase#396.
1 parent fefed99 commit 91e989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/verify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (a *API) recoverVerify(ctx context.Context, conn *storage.Connection, user
204204
return terr
205205
}
206206
if !user.IsConfirmed() {
207-
if terr = models.NewAuditLogEntry(tx, instanceID, user, models.LoginAction, nil); terr != nil {
207+
if terr = models.NewAuditLogEntry(tx, instanceID, user, models.UserSignedUpAction, nil); terr != nil {
208208
return terr
209209
}
210210

0 commit comments

Comments
 (0)