We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993e4a9 commit 8059345Copy full SHA for 8059345
api/certificate/acme_user.go
@@ -29,7 +29,7 @@ func CreateAcmeUser(c *gin.Context) {
29
"ca_dir": "omitempty",
30
}).BeforeExecuteHook(func(ctx *cosy.Ctx[model.AcmeUser]) {
31
if ctx.Model.CADir == "" {
32
- ctx.Model.CADir = settings.ServerSettings.CADir
+ ctx.Model.CADir = settings.ServerSettings.GetCADir()
33
}
34
err := ctx.Model.Register()
35
if err != nil {
@@ -46,7 +46,7 @@ func ModifyAcmeUser(c *gin.Context) {
46
47
48
49
50
51
52
if ctx.OriginModel.Email != ctx.Model.Email ||
0 commit comments