Skip to content

Commit 33afc3c

Browse files
revoked msg
1 parent d47e20c commit 33afc3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/authenticator/authenticator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (a *Authenticator) AuthenticateHttpRequest(req *http.Request, xCustomProvid
267267
}
268268

269269
if rKey.Revoked {
270-
return nil, nil, internal_errors.NewAuthError(fmt.Sprintf("key %s has been revoked", anonymize(raw)))
270+
return nil, nil, internal_errors.NewAuthError("You've reached your AI usage limit for this course. To continue, please contact your instructor or TA.")
271271
}
272272

273273
if xcustom.IsXCustomRequest(req) {

0 commit comments

Comments
 (0)