mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fix code format in cmd/csaf_provider/controller.go
This commit is contained in:
parent
f20a9e2da6
commit
dbf52223e9
1 changed files with 3 additions and 3 deletions
|
|
@ -80,9 +80,9 @@ func (c *controller) auth(
|
|||
http.Error(rw, http.StatusText(http.StatusForbidden), http.StatusForbidden)
|
||||
return
|
||||
} else {
|
||||
hash := r.Header.Get("X-CSAF-PROVIDER-AUTH")
|
||||
if !c.cfg.checkPassword(hash) {
|
||||
http.Error(rw, http.StatusText(http.StatusForbidden), http.StatusForbidden)
|
||||
hash := r.Header.Get("X-CSAF-PROVIDER-AUTH")
|
||||
if !c.cfg.checkPassword(hash) {
|
||||
http.Error(rw, http.StatusText(http.StatusForbidden), http.StatusForbidden)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue