mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
Allow admins to set subdomain for their instance
Fixes #209 Admins can see and set subdomain for their instance. Self-host customers only!
This commit is contained in:
parent
af9bc25660
commit
f828583b49
6 changed files with 25 additions and 3 deletions
|
@ -115,7 +115,7 @@ func (s Store) UpdateOrganization(ctx domain.RequestContext, org org.Organizatio
|
|||
org.Revised = time.Now().UTC()
|
||||
|
||||
_, err = ctx.Transaction.NamedExec(`UPDATE dmz_org SET
|
||||
c_title=:title, c_message=:message, c_service=:conversionendpoint, c_email=:email,
|
||||
c_title=:title, c_message=:message, c_service=:conversionendpoint, c_email=:email, c_domain=:domain,
|
||||
c_anonaccess=:allowanonymousaccess, c_maxtags=:maxtags, c_theme=:theme, c_revised=:revised
|
||||
WHERE c_refid=:refid`,
|
||||
&org)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue