Commit 2bd496d9 authored by root's avatar root
parents 2d1054da 8b7cabd5
......@@ -21,7 +21,6 @@ func main() {
// Only allowed to "Pull". If "Push" access needed, define the rules via static ACL
fmt.Println("The user " + authReqInfo.Account + " requesting \"push\" access for the Repo: " + authReqInfo.Name)
isAuthorized := utils.HttpAuth(authReqInfo)
isAuthorized = true
if isAuthorized {
os.Exit(utils.SuccessExitCode)
......
......@@ -80,6 +80,6 @@ func HttpAuth(authReqInfo authz.AuthRequestInfo) bool {
result, _ := strconv.ParseBool(string(body))
return result
}
fmt.Println(string(body))
return false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment