kopia lustrzana https://github.com/bugout-dev/moonstream
modified auth exception message to access message
rodzic
1406d85e05
commit
b0623f738c
|
@ -130,7 +130,7 @@ func accessMiddleware(next http.Handler) http.Handler {
|
||||||
dataSource := extractDataSource(r)
|
dataSource := extractDataSource(r)
|
||||||
|
|
||||||
if accessID == "" {
|
if accessID == "" {
|
||||||
http.Error(w, "No authorization header passed with request", http.StatusForbidden)
|
http.Error(w, "No access id passed with request", http.StatusForbidden)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue