1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00

Provider sample data for Cloud onboarding

This commit is contained in:
sauls8t 2019-06-29 15:37:49 +01:00
parent 201d2a339c
commit 69077ce419
7 changed files with 1201 additions and 1100 deletions

View file

@ -263,6 +263,7 @@ func (m *middleware) preAuthorizeStaticAssets(rt *env.Runtime, r *http.Request)
ctx.GlobalAdmin = false
ctx.AppURL = r.Host
ctx.SSL = request.IsSSL(r)
ctx.OrgID = org.RefID
return true, ctx
}