mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 21:34:35 -04:00
Set default user backend to accounts
This commit is contained in:
1 parent
ffe3a17b73
commit
ded4abbd55
1 file changed
+4
@@ -59,6 +59,10 @@ func NewService(opts ...Option) Service {
|
||||
logger: options.Logger,
|
||||
}
|
||||
|
||||
if svc.config.AccountBackend == "" {
|
||||
svc.config.AccountBackend = "accounts"
|
||||
}
|
||||
|
||||
requireUser := ocsm.RequireUser()
|
||||
|
||||
requireAdmin := ocsm.RequireAdmin(
|
||||
|
||||
Reference in new issue
Block a user