Include HTML buttons

This commit is contained in:
Thomas Miceli
2023-04-17 20:25:35 +02:00
parent 4008b7ce38
commit 2d42cf798c
4 changed files with 51 additions and 21 deletions

View File

@@ -249,6 +249,9 @@ func dataInit(next echo.HandlerFunc) echo.HandlerFunc {
}
setData(ctx, "signupDisabled", disableSignup == "1")
setData(ctx, "githubOauth", config.C.GithubClientKey != "" && config.C.GithubSecret != "")
setData(ctx, "giteaOauth", config.C.GiteaClientKey != "" && config.C.GiteaSecret != "")
return next(ctx)
}
}