mirror of
https://github.com/github/codeql.git
synced 2026-08-03 00:43:00 +02:00
11 lines
162 B
Go
11 lines
162 B
Go
package main
|
|
|
|
import "net/http"
|
|
|
|
func example(w http.ResponseWriter, r *http.Request) {
|
|
test2 := "test"
|
|
if r.Header.Get("X-Password") != test2 {
|
|
login()
|
|
}
|
|
}
|