1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

accept shared folder set account to ACTIVE

This commit is contained in:
Harvey Kandola 2017-05-04 13:56:31 +01:00
parent 93ed361705
commit 92eca1a1ce
7 changed files with 641 additions and 621 deletions

View file

@ -795,6 +795,7 @@ func InviteToFolder(w http.ResponseWriter, r *http.Request) {
a.OrgID = p.Context.OrgID
a.Admin = false
a.Editor = false
a.Active = true
accountID := util.UniqueID()
a.RefID = accountID
@ -897,6 +898,7 @@ func inviteNewUserToSharedFolder(p request.Persister, email string, invitedBy en
a.OrgID = p.Context.OrgID
a.Admin = false
a.Editor = false
a.Active = true
accountID := util.UniqueID()
a.RefID = accountID