mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
implemented edition license checks
This commit is contained in:
parent
edccb39019
commit
a4e3264e0c
19 changed files with 146 additions and 19 deletions
|
@ -45,6 +45,8 @@ func GetMeta(w http.ResponseWriter, r *http.Request) {
|
|||
data.Message = org.Message
|
||||
data.AllowAnonymousAccess = org.AllowAnonymousAccess
|
||||
data.Version = Product.Version
|
||||
data.Edition = Product.License.Edition
|
||||
data.Valid = Product.License.Valid
|
||||
|
||||
json, err := json.Marshal(data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue