зеркало из https://github.com/mozilla/mig.git
[minor] fix comment whitespace issue
This commit is contained in:
Родитель
e20b1007a4
Коммит
10499cbe9d
|
@ -261,9 +261,9 @@ func authenticate(pass handler, requirePerm int64) handler {
|
||||||
respond(http.StatusUnauthorized, resource, w, r)
|
respond(http.StatusUnauthorized, resource, w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// As a final phase, validate the investigator has permission to access
|
// As a final phase, validate the investigator has permission to access
|
||||||
// the endpoint
|
// the endpoint
|
||||||
|
|
||||||
if !inv.CheckPermission(requirePerm) {
|
if !inv.CheckPermission(requirePerm) {
|
||||||
inv.Name = "authfailed"
|
inv.Name = "authfailed"
|
||||||
inv.ID = -1
|
inv.ID = -1
|
||||||
|
|
Загрузка…
Ссылка в новой задаче