This commit is contained in:
WJQSERVER 2024-10-06 00:22:42 +08:00
parent b9a7f30705
commit 57f67278a3
5 changed files with 23 additions and 40 deletions

10
auth/blacklist.go Normal file
View file

@ -0,0 +1,10 @@
package auth
func CheckBlacklist(fullrepo string) bool {
if fullrepo == "test/test1" {
logw("%s in blacklist", fullrepo)
return true
}
logw("%s not in blacklist", fullrepo)
return false
}