diff --git a/http_utility.go b/http_utility.go index 76d2b57..9896b87 100644 --- a/http_utility.go +++ b/http_utility.go @@ -48,8 +48,8 @@ func InternalServerErrorResponse(w http.ResponseWriter, req *http.Request) { // UnauthorizedError writes HTTP error 401 to w. func UnauthorizedResponse(w http.ResponseWriter, req *http.Request) { ErrorResponse(w, req, http.StatusUnauthorized, []HttpErrorDesc{ - { "en", templateHttpErr500_EN }, - { "rs", templateHttpErr500_RS }, + { "en", templateHttpErr401_EN }, + { "rs", templateHttpErr401_RS }, }) }