Fix certificate renewal#209
No reviewers
Labels
No labels
breaking
bug
build_pr_image
documentation
d̶u̶p̶l̶i̶c̶a̶t̶e̶
feature
good first issue
improvement
i̶n̶v̶a̶l̶i̶d̶
open questions
performance
refactor
research required
No project
No assignees
2 participants Notifications
Due date No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/pages-server!209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "crystal/pages-server:pr-renew-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A database bug in xorm.go prevents the pages-server from saving a
renewed certificate for a domain that already has one in the database.
don't know why this doesn't work
it passed here
@ -65,3 +65,3 @@defer sess.Close()if exist, _ := sess.ID(c.Domain).Exist(); exist {if exist, _ := sess.ID(c.Domain).Exist(c); exist {just use a new(Cert) as that make sure Exist dont try to match other fields