Bootstrapped the creation and loading of session keys to lighten main.

This commit is contained in:
2025-04-16 08:21:02 +01:00
parent 0a21973237
commit 4bb3b58ddb
8 changed files with 95 additions and 13 deletions

View File

@@ -12,8 +12,8 @@ type Config struct {
} `json:"csrf"`
Session struct {
SessionAuthKey string `json:"authKey"`
SessionEncryptionKey string `json:"encryptionKey"`
SessionName string `json:"sessionName"`
AuthKeyPath string `json:"authKeyPath"`
EncryptionKeyPath string `json:"encryptionKeyPath"`
Name string `json:"sessionName"`
} `json:"session"`
}