feat: Updated logo
Server Deploy / deploy (push) Successful in 3m51s

This commit is contained in:
2026-07-24 10:31:11 +01:00
parent 7df79d05f1
commit a6030ef62f
4 changed files with 22 additions and 12 deletions
+5 -3
View File
@@ -50,11 +50,13 @@ func HandleLocalLogin(c *gin.Context) {
func HandleBootstrapStatus(c *gin.Context) {
var (
n int64
err error
n int64
err error
orgName string
)
if org, ok := OrgFromHost(c); ok {
n, err = services.CountOrgUsers(org.OrgID)
orgName = org.Name
} else {
n, err = services.CountUsers()
}
@@ -62,7 +64,7 @@ func HandleBootstrapStatus(c *gin.Context) {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
c.JSON(http.StatusOK, gin.H{"needs_setup": n == 0})
c.JSON(http.StatusOK, gin.H{"needs_setup": n == 0, "org_name": orgName})
}