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:
parent
93ed361705
commit
92eca1a1ce
7 changed files with 641 additions and 621 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue