Skip to content

Commit e7c07b7

Browse files
authored
Fix typo in oauth2 error handler log (#40)
1 parent 8924ef0 commit e7c07b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func DefaultErrorCallback(w http.ResponseWriter, r *http.Request, err error) {
8484
return
8585
}
8686
if _, ok := err.(LoginError); ok {
87-
http.Error(w, fmt.Sprintf("ouaht2 error: %v", err.Error()), http.StatusBadRequest)
87+
http.Error(w, fmt.Sprintf("oauth2 error: %v", err.Error()), http.StatusBadRequest)
8888
return
8989
}
9090
http.Error(w, err.Error(), http.StatusInternalServerError)

0 commit comments

Comments
 (0)