Add Postgres and MySQL databases support (#335)

هذا الالتزام موجود في:
Thomas Miceli
2024-09-20 16:01:09 +02:00
ملتزم من قبل GitHub
الأصل 4b039b0703
التزام 17237713a1
23 ملفات معدلة مع 479 إضافات و59 حذوفات

عرض الملف

@@ -39,7 +39,7 @@ func runGitCommand(ch ssh.Channel, gitCmd string, key string, ip string) error {
return errors.New("gist not found")
}
allowUnauthenticated, err := auth.ShouldAllowUnauthenticatedGistAccess(db.DBAuthInfo{}, true)
allowUnauthenticated, err := auth.ShouldAllowUnauthenticatedGistAccess(db.AuthInfo{}, true)
if err != nil {
return errors.New("internal server error")
}