Bootstrapped the creation and loading of session keys to lighten main.
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
func LogConfig(config *models.Config) {
|
||||
safeConfig := *config
|
||||
safeConfig.CSRF.CSRFKey = "[REDACTED]"
|
||||
safeConfig.Session.SessionAuthKey = "[REDACTED]"
|
||||
safeConfig.Session.SessionEncryptionKey = "[REDACTED]"
|
||||
safeConfig.Session.AuthKeyPath = "[REDACTED]"
|
||||
safeConfig.Session.EncryptionKeyPath = "[REDACTED]"
|
||||
|
||||
cfg, err := json.MarshalIndent(safeConfig, "", " ")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user