1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +02:00

implemented edition license checks

This commit is contained in:
Harvey Kandola 2017-02-23 16:39:23 -08:00
parent edccb39019
commit a4e3264e0c
19 changed files with 146 additions and 19 deletions

View file

@ -33,6 +33,11 @@ import (
// AddUser is the endpoint that enables an administrator to add a new user for their orgaisation.
func AddUser(w http.ResponseWriter, r *http.Request) {
if IsInvalidLicense() {
util.WriteBadLicense(w)
return
}
method := "AddUser"
p := request.GetPersister(r)