Commit 99d5a1d2 authored by liugaoling's avatar liugaoling

authorization

parent 183f8e7a
......@@ -21,6 +21,7 @@ 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)
......
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