mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-19 06:00:40 -04:00
Merge pull request #79 from butonic/enable-new-accounts
enable new accounts
This commit is contained in:
5
changelog/unreleased/enable-new-accounts.md
Normal file
5
changelog/unreleased/enable-new-accounts.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: enable new accounts by default
|
||||
|
||||
When new accounts are created, they also need to be enabled to be useable.
|
||||
|
||||
https://github.com/owncloud/ocis-proxy/pull/79
|
||||
@@ -71,6 +71,8 @@ func createAccount(l log.Logger, claims *oidc.StandardClaims, ac acc.AccountsSer
|
||||
OnPremisesSamAccountName: claims.PreferredUsername,
|
||||
Mail: claims.Email,
|
||||
CreationType: "LocalAccount",
|
||||
AccountEnabled: true,
|
||||
// TODO assign uidnumber and gidnumber? better do that in ocis-accounts as it can keep track of the next numbers
|
||||
},
|
||||
}
|
||||
created, err := ac.CreateAccount(context.Background(), req)
|
||||
|
||||
Reference in New Issue
Block a user